diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-01-20 22:15:15 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-01-20 22:15:15 +0000 |
commit | db550f5f805f7627d5929be1203869df0a21074f (patch) | |
tree | 5b0d03401d89f4e37d9ec724a40b6fbf84b5dd45 /src/pugixpath.cpp | |
parent | 97316264895a7b28023fb769bd29ca4da2fd484a (diff) |
Fixed several code analysis warnings
git-svn-id: http://pugixml.googlecode.com/svn/trunk@239 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r-- | src/pugixpath.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 41d7de9..b7efa46 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -534,6 +534,10 @@ namespace pugi class xpath_allocator
{
+ // disable copy ctor and assignment
+ xpath_allocator(const xpath_allocator&);
+ xpath_allocator& operator=(const xpath_allocator&);
+
struct memory_block
{
memory_block(): next(0), size(0)
@@ -841,6 +845,10 @@ namespace pugi class xpath_lexer
{
+ // disable copy ctor and assignment
+ xpath_lexer(const xpath_lexer&);
+ xpath_lexer& operator=(const xpath_lexer&);
+
private:
const char* m_cur;
|