summaryrefslogtreecommitdiffstats
path: root/src/BlockState.h
diff options
context:
space:
mode:
authorE14 <1640391+E14@users.noreply.github.com>2019-09-22 22:57:54 +0200
committerMattes D <github@xoft.cz>2019-09-22 22:57:54 +0200
commitd1c95742ddd83899bb35051de9d731d38aba80a4 (patch)
tree74be95b8f98def76a47c5fc81cca59a12bee4c00 /src/BlockState.h
parentAdded missing closing } in message output (diff)
downloadcuberite-d1c95742ddd83899bb35051de9d731d38aba80a4.tar
cuberite-d1c95742ddd83899bb35051de9d731d38aba80a4.tar.gz
cuberite-d1c95742ddd83899bb35051de9d731d38aba80a4.tar.bz2
cuberite-d1c95742ddd83899bb35051de9d731d38aba80a4.tar.lz
cuberite-d1c95742ddd83899bb35051de9d731d38aba80a4.tar.xz
cuberite-d1c95742ddd83899bb35051de9d731d38aba80a4.tar.zst
cuberite-d1c95742ddd83899bb35051de9d731d38aba80a4.zip
Diffstat (limited to 'src/BlockState.h')
-rw-r--r--src/BlockState.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/BlockState.h b/src/BlockState.h
index 3b0575f0e..ab451236b 100644
--- a/src/BlockState.h
+++ b/src/BlockState.h
@@ -52,6 +52,9 @@ public:
(it's possible to erase a key from aCopyFrom by setting it to empty string in aAdditionalKeysAndValues). */
BlockState(const BlockState & aCopyFrom, const std::map<AString, AString> & aAdditionalKeysAndValues);
+ /** Less-than comparison. */
+ bool operator <(const BlockState & aOther) const;
+
/** Fast equality check. */
bool operator ==(const BlockState & aOther) const;