aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-07 08:44:43 +0200
committerMartin Ridgers <[email protected]>2021-10-07 08:44:43 +0200
commit6138e8eda5237199367d536d576beabae49dc361 (patch)
treebbd14ecb21bfe2d8029dc6fc861a2cc2dd2ebe22 /zencore/include
parentFixed shadowed template parameter (diff)
downloadzen-6138e8eda5237199367d536d576beabae49dc361.tar.xz
zen-6138e8eda5237199367d536d576beabae49dc361.zip
Fixed misplaced nodiscard attribute
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/thread.h b/zencore/include/zencore/thread.h
index 410ffbd1e..f677113a0 100644
--- a/zencore/include/zencore/thread.h
+++ b/zencore/include/zencore/thread.h
@@ -140,7 +140,7 @@ public:
ZENCORE_API bool Wait(int TimeoutMs = -1);
ZENCORE_API void Terminate(int ExitCode);
ZENCORE_API void Reset();
- inline [[nodiscard]] int Pid() const { return m_Pid; }
+ [[nodiscard]] inline int Pid() const { return m_Pid; }
private:
void* m_ProcessHandle = nullptr;