blob: 307e2562b2b456f4e3b2fdc53ab6e09920338e34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- src/LercLib/fpl_EsriHuffman.cpp.orig 2022-07-31 08:46:15 UTC
+++ src/LercLib/fpl_EsriHuffman.cpp
@@ -31,8 +31,6 @@ Original coding 2021 Yuriy Yakimenko
USING_NAMESPACE_LERC
-void _assert(bool v);
-
bool decodePackBits (const unsigned char *ptr, const size_t size, size_t expected, unsigned char **output)
{
unsigned char *out = NULL;
--- src/LercLib/fpl_Lerc2Ext.cpp.orig 2022-07-31 08:46:15 UTC
+++ src/LercLib/fpl_Lerc2Ext.cpp
@@ -31,12 +31,6 @@ Original coding 2021 Yuriy Yakimenko
USING_NAMESPACE_LERC
-void _assert(bool v)
-{
- if (v == false)
- throw "Assertion failed";
-}
-
template<typename T>
size_t getMinIndex(const T* array, size_t size)
{
|