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.
1 parent 22adecf commit 31cc38bCopy full SHA for 31cc38b
src/iceberg/result.h
@@ -64,7 +64,7 @@ using Status = Result<void>;
64
/// \brief Macro to define error creation functions
65
#define DEFINE_ERROR_FUNCTION(name) \
66
template <typename... Args> \
67
- auto name(const std::format_string<Args...> fmt, Args&&... args) \
+ inline auto name(const std::format_string<Args...> fmt, Args&&... args) \
68
-> unexpected<Error> { \
69
return unexpected<Error>( \
70
{ErrorKind::k##name, std::format(fmt, std::forward<Args>(args)...)}); \
0 commit comments