aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-13 21:23:17 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-07-05 08:59:38 +0300
commit014110c47d94ece6e3e655cdbf02ed8c91c7a5cf (patch)
treee8081ec6eb17c133d84b3457561021f5252e0807 /src/rest.cpp
parent7a49fdc58115845ece3a9890bf9498bee6b559de (diff)
downloadbitcoin-014110c47d94ece6e3e655cdbf02ed8c91c7a5cf.tar.xz
Use C++17 [[fallthrough]] attribute, and drop -Wno-implicit-fallthrough
Diffstat (limited to 'src/rest.cpp')
-rw-r--r--src/rest.cpp1
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: {