mirror of
https://github.com/OlafvdSpek/ctemplate.git
synced 2025-09-28 19:05:49 +08:00
Merge 71902bfd99
into 4b7e6c52dc
This commit is contained in:
commit
0dbfad14b6
|
@ -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_;
|
||||
|
|
Loading…
Reference in New Issue
Block a user