Skip to content

Commit

Permalink
Clientiface: remove "value is dummy" from docs
Browse files Browse the repository at this point in the history
Commit

6a1670d "Migrate to STL containers/algorithms."

has replaced core::map<T, bool> with std::set<T>, but didn't update
the accompanying comment saying "value is dummy". This happened at
two places.
  • Loading branch information
est31 committed Feb 16, 2016
1 parent 0851724 commit 4c65455
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/clientiface.h
Expand Up @@ -322,7 +322,6 @@ class RemoteClient

/*
List of active objects that the client knows of.
Value is dummy.
*/
std::set<u16> m_known_objects;

Expand Down Expand Up @@ -377,7 +376,7 @@ class RemoteClient
- 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<v3s16> m_blocks_sent;
Expand Down

0 comments on commit 4c65455

Please sign in to comment.