diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-03-13 21:23:17 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-07-05 08:59:38 +0300 |
commit | 014110c47d94ece6e3e655cdbf02ed8c91c7a5cf (patch) | |
tree | e8081ec6eb17c133d84b3457561021f5252e0807 /src/rest.cpp | |
parent | 7a49fdc58115845ece3a9890bf9498bee6b559de (diff) | |
download | bitcoin-014110c47d94ece6e3e655cdbf02ed8c91c7a5cf.tar.xz |
Use C++17 [[fallthrough]] attribute, and drop -Wno-implicit-fallthrough
Diffstat (limited to 'src/rest.cpp')
-rw-r--r-- | src/rest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rest.cpp b/src/rest.cpp index d599f381e3..e50ab33e54 100644 --- a/src/rest.cpp +++ b/src/rest.cpp @@ -524,6 +524,7 @@ static bool rest_getutxos(const std::any& context, HTTPRequest* req, const std:: // convert hex to bin, continue then with bin part std::vector<unsigned char> strRequestV = ParseHex(strRequestMutable); strRequestMutable.assign(strRequestV.begin(), strRequestV.end()); + [[fallthrough]]; } case RetFormat::BINARY: { |