diff options
| author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-04 10:05:31 +0100 | 
|---|---|---|
| committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-04 10:05:31 +0100 | 
| commit | f39a73f6e1056e84986d3ed8b2bc59e2bcf87e91 (patch) | |
| tree | 26d668fc6cee5fd575589f0dd1a9f929c7ebac8f | |
| parent | b2a0ae13b61ba8cc9834f01851e2a643bae534fe (diff) | |
Fix gcc warnings in compact mode
| -rw-r--r-- | src/pugixml.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 5e9c4b8..0fb0fe9 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -685,7 +685,7 @@ PUGI__NS_BEGIN  			flags |= modflags;  		} -		operator uintptr_t const() const +		operator uintptr_t() const  		{  			return reinterpret_cast<uintptr_t>(get_page()) | flags;  		} @@ -750,7 +750,7 @@ PUGI__NS_BEGIN  				_data = 0;  		} -		operator T* const() const +		operator T*() const  		{  			if (_data)  			{ @@ -769,7 +769,7 @@ PUGI__NS_BEGIN  		T* operator->() const  		{ -			return operator T* const(); +			return operator T*();  		}  	private: @@ -827,7 +827,7 @@ PUGI__NS_BEGIN  			}  		} -		operator T* const() const +		operator T*() const  		{  			int data = _data0 + (_data1 << 8); @@ -850,7 +850,7 @@ PUGI__NS_BEGIN  		T* operator->() const  		{ -			return operator T* const(); +			return operator T*();  		}  	private: @@ -900,7 +900,7 @@ PUGI__NS_BEGIN  			}  		} -		operator char_t* const() const +		operator char_t*() const  		{  			unsigned int data = _data0 + (_data1 << 8) + (_data2 << 16);  | 
