X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Falert.h;h=d4f9a7805feb8a8e93c434fce25840ef68e52ebb;hp=c417842379e98141b1390e554a1de75034481760;hb=5098ea454db9132aa0f576921ca9d1a69429d146;hpb=47d3ceb3da845e216fc9577cbf52f8b5600e5f93 diff --git a/src/alert.h b/src/alert.h index c417842..d4f9a78 100644 --- a/src/alert.h +++ b/src/alert.h @@ -86,7 +86,7 @@ public: uint256 GetHash() const; bool IsInEffect() const; bool Cancels(const CAlert& alert) const; - bool AppliesTo(int nVersion, std::string strSubVerIn) const; + bool AppliesTo(int nVersion, const std::string& strSubVerIn) const; bool AppliesToMe() const; bool RelayTo(CNode* pnode) const; bool CheckSignature() const;