We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f64ad44 + 0179a8e commit 8cd25c3Copy full SHA for 8cd25c3
src/common/versioned_variant.h
@@ -28,8 +28,8 @@
28
namespace ceph {
29
30
// null encoding for std::monostate
31
-void encode(const std::monostate&, bufferlist& bl) {}
32
-void decode(std::monostate&, bufferlist::const_iterator& p) {}
+inline void encode(const std::monostate&, bufferlist& bl) {}
+inline void decode(std::monostate&, bufferlist::const_iterator& p) {}
33
34
// largest value that can be represented by `__u8 struct_v`
35
inline constexpr size_t max_version = std::numeric_limits<__u8>::max();
0 commit comments