summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-23 18:40:51 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-23 18:40:51 +0200
commit7a236921319c44de38246ff73d5343e174dd560f (patch)
treec4e78f54919729ea0b0c9b768f33b1615fb8ceaa
parentMerge remote-tracking branch 'origin/furnaceparsing' into furnaceparsing (diff)
downloadcuberite-7a236921319c44de38246ff73d5343e174dd560f.tar
cuberite-7a236921319c44de38246ff73d5343e174dd560f.tar.gz
cuberite-7a236921319c44de38246ff73d5343e174dd560f.tar.bz2
cuberite-7a236921319c44de38246ff73d5343e174dd560f.tar.lz
cuberite-7a236921319c44de38246ff73d5343e174dd560f.tar.xz
cuberite-7a236921319c44de38246ff73d5343e174dd560f.tar.zst
cuberite-7a236921319c44de38246ff73d5343e174dd560f.zip
-rw-r--r--src/FurnaceRecipe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FurnaceRecipe.cpp b/src/FurnaceRecipe.cpp
index d53854950..36dd2d5e9 100644
--- a/src/FurnaceRecipe.cpp
+++ b/src/FurnaceRecipe.cpp
@@ -230,7 +230,7 @@ bool cFurnaceRecipe::ReadOptionalNumbers(AString::size_type & a_Begin, const ASt
bool cFurnaceRecipe::DoesStringContainOnlyNumbers(const AString & a_String)
{
// TODO: replace this with std::all_of(a_String.begin(), a_String.end(), isdigit)
- return a_String.find_first_not_of("0123456789") == AString::npos;
+ return (a_String.find_first_not_of("0123456789") == AString::npos);
}