From 210fa21a3af27e21001447caeee15f7cdacd33ef Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sun, 29 May 2022 09:46:25 +0200 Subject: [PATCH] [[nodiscard]] is cpp17 Signed-off-by: Fabian Sauter --- src/include/kompute/Sequence.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/kompute/Sequence.hpp b/src/include/kompute/Sequence.hpp index 544344f14..e950b4ff0 100644 --- a/src/include/kompute/Sequence.hpp +++ b/src/include/kompute/Sequence.hpp @@ -235,7 +235,7 @@ class Sequence : public std::enable_shared_from_this * * @return Boolean stating if recording ongoing. */ - [[nodiscard]] bool isRecording() const; + bool isRecording() const; /** * Returns true if the sequence has been initialised, and it's based on the @@ -243,7 +243,7 @@ class Sequence : public std::enable_shared_from_this * * @return Boolean stating if is initialized */ - [[nodiscard]] bool isInit() const; + bool isInit() const; /** * Clears command buffer and triggers re-record of all the current @@ -258,7 +258,7 @@ class Sequence : public std::enable_shared_from_this * * @return Boolean stating if currently running. */ - [[nodiscard]] bool isRunning() const; + bool isRunning() const; /** * Destroys and frees the GPU resources which include the buffer and memory