aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-05-13 21:53:18 +0200
committerStefan Boberg <[email protected]>2021-05-13 21:53:18 +0200
commit792a6b0e7739d1d32bd5241e63fddcb623dfec78 (patch)
treea62a48553545a5f8293aaff973acce981583c6d0
parentAdded logic to guard against accidental file move in file CAS fast path (diff)
downloadzen-792a6b0e7739d1d32bd5241e63fddcb623dfec78.tar.xz
zen-792a6b0e7739d1d32bd5241e63fddcb623dfec78.zip
Moved [[nodiscard]] into the right position to make it actually stick
-rw-r--r--zencore/include/zencore/httpserver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/include/zencore/httpserver.h b/zencore/include/zencore/httpserver.h
index 563245264..2f566b858 100644
--- a/zencore/include/zencore/httpserver.h
+++ b/zencore/include/zencore/httpserver.h
@@ -178,8 +178,8 @@ public:
// Synchronous operations
- inline [[nodiscard]] std::string_view RelativeUri() const { return m_Uri; } // Returns URI without service prefix
- inline [[nodiscard]] std::string_view QueryString() const { return m_QueryString; }
+ [[nodiscard]] inline std::string_view RelativeUri() const { return m_Uri; } // Returns URI without service prefix
+ [[nodiscard]] inline std::string_view QueryString() const { return m_QueryString; }
inline bool IsHandled() const { return m_IsHandled; }
struct QueryParams