blob: acfbce4bfb9d7f5cfbb6f9d1df843626860101b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff --git a/src/per_expand_data.cc b/src/per_expand_data.cc
index f8f3025..0a468cf 100644
--- a/src/per_expand_data.cc
+++ b/src/per_expand_data.cc
@@ -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_;
|