diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-05-20 08:15:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-20 08:15:56 +0200 |
commit | ce9802266ef1def339ec2e119c59090d0fd07c90 (patch) | |
tree | 7a408a21c0448030d162cbcc88b74febf5aefb87 /src/chat.cpp | |
parent | 35267406aa849195b72bf2edf63fecb16be013bc (diff) | |
download | minetest-ce9802266ef1def339ec2e119c59090d0fd07c90.tar.gz minetest-ce9802266ef1def339ec2e119c59090d0fd07c90.tar.bz2 minetest-ce9802266ef1def339ec2e119c59090d0fd07c90.zip |
Various code cleanup & little performance improvement on HTTP download (#5772)
* Disable or remove unused enum members/functions
* Tiny code style fixes
* Make some functions const
* Replace ClientMediaDownloader std::unordered_map with std::map
Diffstat (limited to 'src/chat.cpp')
-rw-r--r-- | src/chat.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/chat.cpp b/src/chat.cpp index de7483e22..f070e6e7b 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -77,11 +77,6 @@ u32 ChatBuffer::getLineCount() const return m_unformatted.size(); } -u32 ChatBuffer::getScrollback() const -{ - return m_scrollback; -} - const ChatLine& ChatBuffer::getLine(u32 index) const { assert(index < getLineCount()); // pre-condition |