1
0
mirror of https://github.com/OlafvdSpek/ctemplate.git synced 2025-09-28 19:05:49 +08:00
This commit is contained in:
atkawa7 2017-08-27 15:32:57 +00:00 committed by GitHub
commit 0dbfad14b6

View File

@ -42,10 +42,12 @@ namespace ctemplate {
using std::string;
#ifndef _MSC_VER
bool PerExpandData::DataEq::operator()(const char* s1, const char* s2) const {
return ((s1 == 0 && s2 == 0) ||
(s1 && s2 && *s1 == *s2 && strcmp(s1, s2) == 0));
}
#endif
PerExpandData::~PerExpandData() {
delete map_;