diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-23 18:40:51 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-23 18:40:51 +0200 |
commit | 7a236921319c44de38246ff73d5343e174dd560f (patch) | |
tree | c4e78f54919729ea0b0c9b768f33b1615fb8ceaa /src | |
parent | Merge remote-tracking branch 'origin/furnaceparsing' into furnaceparsing (diff) | |
download | cuberite-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/FurnaceRecipe.cpp | 2 |
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); } |