diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-06-28 16:55:57 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-06-28 16:55:57 +0200 |
| commit | d888face4b4029718909847d3686650b871acd83 (patch) | |
| tree | 237acf8818db54def2346fa864e34ee65a88bb28 | |
| parent | e040454ca3ba94b4a4c13c51a2cb3dd5cba8749b (diff) | |
| download | Project-Tick-d888face4b4029718909847d3686650b871acd83.tar.gz Project-Tick-d888face4b4029718909847d3686650b871acd83.zip | |
Specify default move constructor for nbt_value
| -rw-r--r-- | include/nbt_value.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/nbt_value.h b/include/nbt_value.h index 2a3769f118..a1e98b4117 100644 --- a/include/nbt_value.h +++ b/include/nbt_value.h @@ -45,8 +45,10 @@ class nbt_value { public: //Movable but not (implicitly) copyable - nbt_value& operator=(nbt_value&&) = default; + nbt_value(const nbt_value&) = delete; + nbt_value(nbt_value&&) = default; nbt_value& operator=(const nbt_value&) = delete; + nbt_value& operator=(nbt_value&&) = default; //nbt_value& operator=(std::unique_ptr<tag>&& ptr); |
