mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Fix various performance issues reported by cppcheck (#5628)
* Also remove 1 non declared but defined functions
This commit is contained in:
parent
de5ecc9fa3
commit
370354cc87
8 changed files with 57 additions and 75 deletions
|
@ -732,8 +732,8 @@ class Peer {
|
|||
virtual void reportRTT(float rtt) {};
|
||||
|
||||
void RTTStatistics(float rtt,
|
||||
std::string profiler_id="",
|
||||
unsigned int num_samples=1000);
|
||||
const std::string &profiler_id = "",
|
||||
unsigned int num_samples = 1000);
|
||||
|
||||
bool IncUseCount();
|
||||
void DecUseCount();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue