From d1ae7c0355662481a7d181a0a458284936d53eb1 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 10 Jun 2020 11:44:48 +0300 Subject: Make GetWarnings() return bilingual_str --- src/warnings.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/warnings.h') diff --git a/src/warnings.h b/src/warnings.h index 83b1add1ee..8897ace9eb 100644 --- a/src/warnings.h +++ b/src/warnings.h @@ -8,16 +8,18 @@ #include +struct bilingual_str; + void SetMiscWarning(const std::string& strWarning); void SetfLargeWorkForkFound(bool flag); bool GetfLargeWorkForkFound(); void SetfLargeWorkInvalidChainFound(bool flag); /** Format a string that describes several potential problems detected by the core. * @param[in] verbose bool - * - if true, get all warnings, translated (where possible), separated by
+ * - if true, get all warnings separated by
* - if false, get the most important warning * @returns the warning string */ -std::string GetWarnings(bool verbose); +bilingual_str GetWarnings(bool verbose); #endif // BITCOIN_WARNINGS_H -- cgit v1.2.3