We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86fbe41 commit 0b7af0dCopy full SHA for 0b7af0d
2 files changed
include/hx/CFFILoader.h
@@ -127,7 +127,7 @@ extern "C" ret name def_args;
127
struct DynAlloc : public hx::IStringAlloc
128
{
129
#define WANT_DYNALLOC_ALLOC_BYTES
130
- void *allocBytes(size_t n);
+ void *allocBytes(size_t n) HXCPP_OVERRIDE;
131
};
132
133
include/hx/StringAlloc.h
@@ -16,6 +16,14 @@ class IStringAlloc
16
~IStringAlloc(){};
17
18
19
+#ifndef HXCPP_OVERRIDE
20
+ #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSVC_LANG >= 201103L)
21
+ #define HXCPP_OVERRIDE override
22
+ #else
23
+ #define HXCPP_OVERRIDE
24
+ #endif
25
+#endif
26
+
27
template<int STACK>
28
class StringAlloc : public IStringAlloc
29
0 commit comments