diff options
author | Pavel JanÃk <Pavel@Janik.cz> | 2015-01-08 11:44:25 +0100 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-31 17:38:28 -0500 |
commit | 5262fde0ecd19f1febbfcd488f2be41c5dffd047 (patch) | |
tree | 413401ca7111906838b0f5f5d0c0604bcce52d19 /src/script | |
parent | 3800135ad382a0a980eb20bad8bacbbf206f8cea (diff) |
Remove whitespaces before double colon in errors and logs
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/interpreter.cpp | 2 | ||||
-rw-r--r-- | src/script/script.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index 8a06f3d118..0cee1a0116 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -60,7 +60,7 @@ bool CastToBool(const valtype& vch) static inline void popstack(vector<valtype>& stack) { if (stack.empty()) - throw runtime_error("popstack() : stack empty"); + throw runtime_error("popstack(): stack empty"); stack.pop_back(); } diff --git a/src/script/script.h b/src/script/script.h index 78fd12cd29..8b36aa2f50 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -391,7 +391,7 @@ public: CScript& operator<<(opcodetype opcode) { if (opcode < 0 || opcode > 0xff) - throw std::runtime_error("CScript::operator<<() : invalid opcode"); + throw std::runtime_error("CScript::operator<<(): invalid opcode"); insert(end(), (unsigned char)opcode); return *this; } |