summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-18 16:10:30 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-18 16:10:30 -0700
commite45c173f73fdbdf792b5c7b2f997405f690749c7 (patch)
treeebefeb7bb3304b772df2e782730639468d4a0e65
parent18483b024c641551e26b5c6cff321f2ba049133d (diff)
Fix MWCW issue with compact mode
-rw-r--r--src/pugixml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 1880028..c5987d4 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -843,7 +843,7 @@ PUGI__NS_BEGIN
T* operator->() const
{
- return operator T*();
+ return *this;
}
private:
@@ -923,7 +923,7 @@ PUGI__NS_BEGIN
T* operator->() const
{
- return operator T*();
+ return *this;
}
private: