diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-17 15:56:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-17 15:56:52 +0300 |
commit | 3e05d92dcb5f6c2017bc462554901ba27816bdb4 (patch) | |
tree | 3276a7c3527006b74afc00c197ab48a3a43b1e9e /libs/libjson/src/JSONChildren.h | |
parent | e285d61d903c2616f5a7ea3026a1068ceb59b513 (diff) |
MNonCopyable - the common class to avoid declaring fake private constructors
Diffstat (limited to 'libs/libjson/src/JSONChildren.h')
-rw-r--r-- | libs/libjson/src/JSONChildren.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libjson/src/JSONChildren.h b/libs/libjson/src/JSONChildren.h index ce697ffd77..04922d9a1b 100644 --- a/libs/libjson/src/JSONChildren.h +++ b/libs/libjson/src/JSONChildren.h @@ -120,7 +120,7 @@ public: }
private:
iteratorKeeper(const iteratorKeeper &);
- iteratorKeeper & operator = (const iteratorKeeper &);
+ iteratorKeeper & operator=(const iteratorKeeper &);
jsonChildren * myChildren;
JSONNode ** & myPos;
@@ -218,7 +218,7 @@ public: JSON_PRIVATE
//to make sure it's not copyable
jsonChildren(const jsonChildren &);
- jsonChildren & operator = (const jsonChildren &);
+ jsonChildren & operator=(const jsonChildren &);
void deleteAll(void); //implemented in JSONNode.cpp
void doerase(JSONNode ** position, json_index_t number);
|