From 5a9b508279b3a221d36149aa2e811a9702b28e60 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 31 May 2017 22:21:25 +0200 Subject: [trivial] Add end of namespace comments --- src/script/bitcoinconsensus.cpp | 2 +- src/script/interpreter.cpp | 4 ++-- src/script/sigcache.cpp | 2 +- src/script/sign.cpp | 2 +- src/script/standard.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/script') diff --git a/src/script/bitcoinconsensus.cpp b/src/script/bitcoinconsensus.cpp index c4ab441e2..4b71a42cd 100644 --- a/src/script/bitcoinconsensus.cpp +++ b/src/script/bitcoinconsensus.cpp @@ -68,7 +68,7 @@ struct ECCryptoClosure }; ECCryptoClosure instance_of_eccryptoclosure; -} +} // namespace /** Check that all specified flags are part of the libconsensus interface. */ static bool verify_flags(unsigned int flags) diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index f4e5313a7..171f28eef 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -31,7 +31,7 @@ inline bool set_error(ScriptError* ret, const ScriptError serror) return false; } -} // anon namespace +} // namespace bool CastToBool(const valtype& vch) { @@ -1164,7 +1164,7 @@ uint256 GetOutputsHash(const CTransaction& txTo) { return ss.GetHash(); } -} // anon namespace +} // namespace PrecomputedTransactionData::PrecomputedTransactionData(const CTransaction& txTo) { diff --git a/src/script/sigcache.cpp b/src/script/sigcache.cpp index 7bb8d9941..befc5f523 100644 --- a/src/script/sigcache.cpp +++ b/src/script/sigcache.cpp @@ -66,7 +66,7 @@ public: * signatureCache could be made local to VerifySignature. */ static CSignatureCache signatureCache; -} +} // namespace // To be called once in AppInitMain/BasicTestingSetup to initialize the // signatureCache. diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 568241854..59af4e490 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -400,7 +400,7 @@ public: } }; const DummySignatureChecker dummyChecker; -} +} // namespace const BaseSignatureChecker& DummySignatureCreator::Checker() const { diff --git a/src/script/standard.cpp b/src/script/standard.cpp index 63f20b099..d08c8821d 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -273,7 +273,7 @@ public: return true; } }; -} +} // namespace CScript GetScriptForDestination(const CTxDestination& dest) { -- cgit v1.2.3