summaryrefslogtreecommitdiffstats
path: root/source/Globals.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-13 21:25:53 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-13 21:25:53 +0200
commit8af0df4309c8caa8c08d5cd9cb6008b9a5f99054 (patch)
treec588dbe75175dc3f19f9c6da42133621f8cafc1e /source/Globals.h
parentfixed /tp command (diff)
downloadcuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar
cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.gz
cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.bz2
cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.lz
cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.xz
cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.zst
cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.zip
Diffstat (limited to '')
-rw-r--r--source/Globals.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/Globals.h b/source/Globals.h
index 9b057d262..65db1b436 100644
--- a/source/Globals.h
+++ b/source/Globals.h
@@ -200,15 +200,3 @@ public:
-//Common functions
-//Taken from http://stackoverflow.com/questions/11635/case-insensitive-string-comparison-in-c
-inline bool iequals(const std::string& a, const std::string& b)
-{
- unsigned int sz = a.size();
- if (b.size() != sz)
- return false;
- for (unsigned int i = 0; i < sz; ++i)
- if (tolower(a[i]) != tolower(b[i]))
- return false;
- return true;
-}