Use const references for Settings methods
authorShadowNinja <shadowninja@minetest.net>
Thu, 11 Sep 2014 17:42:21 +0000 (13:42 -0400)
committerShadowNinja <shadowninja@minetest.net>
Sun, 21 Sep 2014 18:39:35 +0000 (14:39 -0400)
commitcd64a92a8cde573404e8af9e220d4e1c6ce6453e
tree749a56c1e6a5c46d05910297ae75d08372677480
parentb97c9c65777b0389f4cc9a6e3257506f29761e03
Use const references for Settings methods

Also check for (this == &other) before locking mutexes.
src/settings.h
src/util/string.cpp
src/util/string.h