From d88d076d519bdfdffa7a78798894451af95428ab Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 28 Nov 2023 11:14:36 +0100 Subject: [PATCH] MSYS: fix the following warning for MinGW & gcc: 'bool App::StringID::isBinary() const' redeclared without dllimport attribute after being referenced with dll linkage --- src/App/StringHasher.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/App/StringHasher.h b/src/App/StringHasher.h index 04713bf91e..1b65b34795 100644 --- a/src/App/StringHasher.h +++ b/src/App/StringHasher.h @@ -151,15 +151,15 @@ public: /// @name Flag accessors //@{ - bool isBinary() const; - bool isHashed() const; - bool isPostfixed() const; - bool isPostfixEncoded() const; - bool isIndexed() const; - bool isPrefixID() const; - bool isPrefixIDIndex() const; - bool isMarked() const; - bool isPersistent() const; + inline bool isBinary() const; + inline bool isHashed() const; + inline bool isPostfixed() const; + inline bool isPostfixEncoded() const; + inline bool isIndexed() const; + inline bool isPrefixID() const; + inline bool isPrefixIDIndex() const; + inline bool isMarked() const; + inline bool isPersistent() const; //@} /// Checks if this StringID is from the input hasher @@ -278,7 +278,7 @@ public: void mark() const; /// Mark the StringID as persistent regardless of usage mark - void setPersistent(bool enable); + inline void setPersistent(bool enable); bool operator<(const StringID& other) const {