diff options
author | Milo Yip <miloyip@gmail.com> | 2014-07-02 20:59:35 +0400 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2014-07-02 20:59:35 +0400 |
commit | 5a186104f4b9b5f223d4fc997c92f856539df276 (patch) | |
tree | 8581732ee4e65200223ac81c2bff09844907e89c /include/rapidjson/internal | |
parent | 5852c42bb9d407fe5ed6e5a94d59d4487bb84da4 (diff) |
Fixes warnings
Diffstat (limited to 'include/rapidjson/internal')
-rw-r--r-- | include/rapidjson/internal/stack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rapidjson/internal/stack.h b/include/rapidjson/internal/stack.h index c1a8bedd..ff5ff82a 100644 --- a/include/rapidjson/internal/stack.h +++ b/include/rapidjson/internal/stack.h @@ -69,6 +69,10 @@ public: size_t GetCapacity() const { return stack_capacity_; }
private:
+ // Prohibit copy constructor & assignment operator.
+ Stack(const Stack&);
+ Stack& operator=(const Stack&);
+
Allocator* allocator_;
Allocator* own_allocator_;
char *stack_;
|