diff options
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/kstd/include/kstd/mutex | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/kstd/include/kstd/mutex b/libs/kstd/include/kstd/mutex index 7795558..b2a31aa 100644 --- a/libs/kstd/include/kstd/mutex +++ b/libs/kstd/include/kstd/mutex @@ -66,7 +66,6 @@ namespace kstd //! //! @note This function will block until the mutex was successfully locked. //! @param mutex The mutex to lock. - [[gnu::section(".stl_text")]] lock_guard(MutexType & mutex) noexcept : m_mutex(mutex) { @@ -77,13 +76,11 @@ namespace kstd //! //! @note The behavior is undefined if the mutex is not owned by the current thread. //! @param mutex The mutex to take ownership of. - [[gnu::section(".stl_text")]] lock_guard(MutexType & mutex, adopt_lock_t) noexcept : m_mutex(mutex) {} //! Destroy this lock_guard and release the owned mutex. - [[gnu::section(".stl_text")]] ~lock_guard() { m_mutex.unlock(); |
