diff options
| author | Martin Ridgers <[email protected]> | 2021-10-07 08:44:43 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-07 08:44:43 +0200 |
| commit | 6138e8eda5237199367d536d576beabae49dc361 (patch) | |
| tree | bbd14ecb21bfe2d8029dc6fc861a2cc2dd2ebe22 /zencore/include | |
| parent | Fixed shadowed template parameter (diff) | |
| download | zen-6138e8eda5237199367d536d576beabae49dc361.tar.xz zen-6138e8eda5237199367d536d576beabae49dc361.zip | |
Fixed misplaced nodiscard attribute
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/thread.h | 2 |
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; |