Handle ConstString empty pointer better.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
79384efb85
commit
c033060c16
|
@ -0,0 +1,6 @@
|
|||
#include "ConstString.hpp"
|
||||
|
||||
Arbutils::__ConstStringCharHolder* Arbutils::CaseInsensitiveConstString::_emptyString =
|
||||
new Arbutils::__ConstStringCharHolder("", 0);
|
||||
|
||||
Arbutils::__ConstStringCharHolder* Arbutils::ConstString::_emptyString = new Arbutils::__ConstStringCharHolder("", 0);
|
|
@ -69,7 +69,6 @@
|
|||
inline static constexpr uint32_t GetHash(const char* val) { return Hash(val); } \
|
||||
inline static STDSTRINGCONSTEXPR uint32_t GetHash(const std::string& val) { return Hash(val.c_str()); } \
|
||||
}; \
|
||||
Arbutils::__ConstStringCharHolder* Arbutils::name::_emptyString = new __ConstStringCharHolder("", 0); \
|
||||
\
|
||||
class name##_Literal { \
|
||||
private: \
|
||||
|
|
Loading…
Reference in New Issue