mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 12:15:18 +01:00
Fix various copy instead of const ref reported by cppcheck (#5615)
* Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck
This commit is contained in:
@@ -386,7 +386,7 @@ s32 ChatBuffer::getBottomScrollPos() const
|
||||
|
||||
|
||||
|
||||
ChatPrompt::ChatPrompt(std::wstring prompt, u32 history_limit):
|
||||
ChatPrompt::ChatPrompt(const std::wstring &prompt, u32 history_limit):
|
||||
m_prompt(prompt),
|
||||
m_line(L""),
|
||||
m_history(),
|
||||
|
||||
Reference in New Issue
Block a user