mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-05-12 21:30:36 +01:00
core: reenable wreorder (#46)
* cmake: re-enable wreorder * implbase: fix wreorder This fixes all reorder warnings... uh...
This commit is contained in:
parent
9aad80acd4
commit
3d9ae75886
2 changed files with 3 additions and 4 deletions
|
@ -27,8 +27,7 @@ add_compile_options(
|
|||
-Wno-unused-value
|
||||
-Wno-missing-field-initializers
|
||||
-Wno-narrowing
|
||||
-Wno-pointer-arith
|
||||
-Wno-reorder)
|
||||
-Wno-pointer-arith)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
|
||||
|
||||
if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace Hyprutils {
|
|||
template <typename T>
|
||||
class impl : public impl_base {
|
||||
public:
|
||||
impl(T* data, bool lock = true) noexcept : _data(data), _lockable(lock) {
|
||||
impl(T* data, bool lock = true) noexcept : _lockable(lock), _data(data) {
|
||||
;
|
||||
}
|
||||
|
||||
|
@ -116,4 +116,4 @@ namespace Hyprutils {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue