From 4c654557ecc32620b78c146bd6d90f531a71d25a Mon Sep 17 00:00:00 2001 From: est31 Date: Tue, 16 Feb 2016 23:58:30 +0100 Subject: Clientiface: remove "value is dummy" from docs Commit 6a1670dbc31cc0e44178bbd9ad34ff0d5981a060 "Migrate to STL containers/algorithms." has replaced core::map with std::set, but didn't update the accompanying comment saying "value is dummy". This happened at two places. --- src/clientiface.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/clientiface.h b/src/clientiface.h index 0d2bca196..d7622cad3 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -322,7 +322,6 @@ public: /* List of active objects that the client knows of. - Value is dummy. */ std::set m_known_objects; @@ -377,7 +376,7 @@ private: - A block is cleared from here when client says it has deleted it from it's memory - Key is position, value is dummy. + List of block positions. No MapBlock* is stored here because the blocks can get deleted. */ std::set m_blocks_sent; -- cgit v1.2.3