summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2016-01-07 02:31:27 +0100
committerworktycho <work.tycho@gmail.com>2016-01-07 02:31:27 +0100
commit5593db13eb84b756d10a7e5054c74c88d78ff85b (patch)
tree58db7ffefac6b6878f9ebc37ff7d754f56cceabd /src/Root.cpp
parentMerge pull request #2844 from mathias-github/silktouch (diff)
parentFixed Clang warnings. (diff)
downloadcuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.gz
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.bz2
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.lz
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.xz
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.tar.zst
cuberite-5593db13eb84b756d10a7e5054c74c88d78ff85b.zip
Diffstat (limited to 'src/Root.cpp')
-rw-r--r--src/Root.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 99dabc099..9226efb27 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -706,10 +706,10 @@ bool cRoot::FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallbac
}
public:
- cCallback (const AString & a_PlayerName) :
+ cCallback (const AString & a_CBPlayerName) :
m_BestRating(0),
- m_NameLength(a_PlayerName.length()),
- m_PlayerName(a_PlayerName),
+ m_NameLength(a_CBPlayerName.length()),
+ m_PlayerName(a_CBPlayerName),
m_BestMatch(),
m_NumMatches(0)
{}