Skip to content

Commit 4c65455

Browse files
committed
Clientiface: remove "value is dummy" from docs
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.
1 parent 0851724 commit 4c65455

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/clientiface.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ class RemoteClient
322322

323323
/*
324324
List of active objects that the client knows of.
325-
Value is dummy.
326325
*/
327326
std::set<u16> m_known_objects;
328327

@@ -377,7 +376,7 @@ class RemoteClient
377376
- A block is cleared from here when client says it has
378377
deleted it from it's memory
379378
380-
Key is position, value is dummy.
379+
List of block positions.
381380
No MapBlock* is stored here because the blocks can get deleted.
382381
*/
383382
std::set<v3s16> m_blocks_sent;

0 commit comments

Comments
 (0)