diff options
| author | Stefan Boberg <[email protected]> | 2021-09-03 10:14:59 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-03 10:14:59 +0200 |
| commit | 704fe959ca2c94ec5b2ac918967f1d7cd969b417 (patch) | |
| tree | b180984dbd9577c90f99f9eb36514db9a899720f | |
| parent | fix for extern template class declarations, also made integer constant in tes... (diff) | |
| download | zen-704fe959ca2c94ec5b2ac918967f1d7cd969b417.tar.xz zen-704fe959ca2c94ec5b2ac918967f1d7cd969b417.zip | |
moved [[nodiscard]] into correct position
| -rw-r--r-- | zencore/include/zencore/compactbinarypackage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/compactbinarypackage.h b/zencore/include/zencore/compactbinarypackage.h index 181bf1818..d60155d1a 100644 --- a/zencore/include/zencore/compactbinarypackage.h +++ b/zencore/include/zencore/compactbinarypackage.h @@ -72,7 +72,7 @@ public: ZENCORE_API [[nodiscard]] CbObject AsObject() const; /** Returns true if the attachment is either binary or an object */ - inline [[nodiscard]] bool IsBinary() const { return !IsNull(); } + [[nodiscard]] inline bool IsBinary() const { return !IsNull(); } /** Returns whether the attachment is an object. */ ZENCORE_API [[nodiscard]] bool IsObject() const; |