summaryrefslogtreecommitdiff
diff options
context:
space:
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: