diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2020-12-20 18:19:43 -0500 |
---|---|---|
committer | Patrick Strateman <patrick.strateman@gmail.com> | 2020-12-20 18:19:43 -0500 |
commit | d8b9cec25b1d851b711a76f08aed6bce9be933d4 (patch) | |
tree | 076a45061cc4930b449fd2ffbe79a0c74e40e43b /src/test/fuzz/fuzz.h | |
parent | f1dbf92ff0475a01d20170ea422c1d086acbbc57 (diff) | |
download | bitcoin-d8b9cec25b1d851b711a76f08aed6bce9be933d4.tar.xz |
inline non-member functions with body in fuzzing headers
Diffstat (limited to 'src/test/fuzz/fuzz.h')
-rw-r--r-- | src/test/fuzz/fuzz.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzz.h b/src/test/fuzz/fuzz.h index 544379c0b0..73edd8220e 100644 --- a/src/test/fuzz/fuzz.h +++ b/src/test/fuzz/fuzz.h @@ -15,7 +15,7 @@ using TypeInitialize = std::function<void()>; void FuzzFrameworkRegisterTarget(std::string_view name, TypeTestOneInput target, TypeInitialize init); -void FuzzFrameworkEmptyFun() {} +inline void FuzzFrameworkEmptyFun() {} #define FUZZ_TARGET(name) \ FUZZ_TARGET_INIT(name, FuzzFrameworkEmptyFun) |