aboutsummaryrefslogtreecommitdiff
path: root/src/util/moneystr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/moneystr.h')
-rw-r--r--src/util/moneystr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/moneystr.h b/src/util/moneystr.h
index 9d2b6da0fc..da7f673cda 100644
--- a/src/util/moneystr.h
+++ b/src/util/moneystr.h
@@ -19,6 +19,6 @@
*/
std::string FormatMoney(const CAmount& n);
/** Parse an amount denoted in full coins. E.g. "0.0034" supplied on the command line. **/
-NODISCARD bool ParseMoney(const std::string& str, CAmount& nRet);
+[[nodiscard]] bool ParseMoney(const std::string& str, CAmount& nRet);
#endif // BITCOIN_UTIL_MONEYSTR_H