From 9b9eeae95b557a1d37110d840dafdd990f8b5162 Mon Sep 17 00:00:00 2001 From: Borislav Stanimirov Date: Sat, 25 Jan 2025 06:10:32 +0200 Subject: [PATCH] fix(frameio): fix nodiscard position to appease clang --- frame/code/ac/frameio/local/SyncIo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/code/ac/frameio/local/SyncIo.hpp b/frame/code/ac/frameio/local/SyncIo.hpp index 121e0d02..f904d8ed 100644 --- a/frame/code/ac/frameio/local/SyncIo.hpp +++ b/frame/code/ac/frameio/local/SyncIo.hpp @@ -9,5 +9,5 @@ namespace ac::frameio { // create a synchronous session which can use the thread of its peer for its execution // return a function that will execute the pending taasks of the session executor -AC_FRAME_EXPORT [[nodiscard]] std::function Session_connectSync(SessionHandlerPtr handler, StreamEndpoint endpoint); +[[nodiscard]] AC_FRAME_EXPORT std::function Session_connectSync(SessionHandlerPtr handler, StreamEndpoint endpoint); } // namespace ac::frameio