summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-08 19:02:11 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-08 19:02:11 +0200
commit675d35cd4637c40a827eee41a32a0ed3e49b66f0 (patch)
tree724d7223b8ab176bb501ecfaedcc0afefae36de4
parentFixed the case-sensitiveness of the item map. (diff)
downloadcuberite-675d35cd4637c40a827eee41a32a0ed3e49b66f0.tar
cuberite-675d35cd4637c40a827eee41a32a0ed3e49b66f0.tar.gz
cuberite-675d35cd4637c40a827eee41a32a0ed3e49b66f0.tar.bz2
cuberite-675d35cd4637c40a827eee41a32a0ed3e49b66f0.tar.lz
cuberite-675d35cd4637c40a827eee41a32a0ed3e49b66f0.tar.xz
cuberite-675d35cd4637c40a827eee41a32a0ed3e49b66f0.tar.zst
cuberite-675d35cd4637c40a827eee41a32a0ed3e49b66f0.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index b1d00d391..81be6df96 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -29,7 +29,7 @@ class cBlockIDMap
// Making the map case-insensitive:
struct Comparator
{
- bool operator()(const AString & a_Item1, const AString & a_Item2)
+ bool operator()(const AString & a_Item1, const AString & a_Item2) const
{
return (NoCaseCompare(a_Item1, a_Item2) > 0);
}