fanquake
ea584a617c
23.x Add missing includes to fix gcc-13 compile error
...
Additional include fixes are required to make the 23.x branch compile
using GCC 13.
Github-Pull: #26921
Rebased-From: af862661654966d5de614755ab9bd1b5913e0959
2023-01-20 12:19:25 +00:00
practicalswift
b4511e2e2e
log: Prefix log messages with function name if -logsourcelocations is set
2021-01-15 09:57:32 +00:00
practicalswift
4848e71107
scripted-diff: Use [[nodiscard]] (C++17) instead of NODISCARD
...
-BEGIN VERIFY SCRIPT-
sed -i "s/NODISCARD/[[nodiscard]]/g" $(git grep -l "NODISCARD" ":(exclude)src/bench/nanobench.h" ":(exclude)src/attributes.h")
-END VERIFY SCRIPT-
2020-11-26 09:05:59 +00:00
Vasil Dimov
d2bb681f96
util: move HasPrefix() so it can be reused
...
Move the function `HasPrefix()` from `netaddress.cpp` to `util/string.h`
so it can be reused by `CNetAddr` methods (and possibly others).
2020-09-11 13:35:39 +02:00
Hennadii Stepanov
4c9b9a4882
util: Enhance Join()
2020-05-10 18:00:19 +03:00
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-04-16 13:33:09 -04:00
Ben Woosley
d056df033a
Replace std::to_string with locale-independent alternative
2020-03-14 12:23:01 -07:00
practicalswift
32e27129ff
util: Move TrimString(...). Introduce default pattern (trims whitespace). Add NODISCARD.
2019-12-16 22:50:49 +00:00
practicalswift
d945c6f5e6
util: Don't allow base58-decoding of std::string:s containing non-base58 characters
2019-12-12 11:01:56 +00:00
practicalswift
084e17cebd
Remove unused includes
2019-10-15 22:56:43 +00:00
MarcoFalke
fa8cd6f9c1
util: Add Join helper to join a list of strings
2019-08-20 16:51:41 -04:00