diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2025-04-20 14:24:00 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2025-04-20 14:24:00 +0200 |
commit | e809e215a38dc6859f9a1627c6b60289fadb504b (patch) | |
tree | 7a48ac98b6cc28f8cae927d2e962029fc859bacd /src | |
parent | 4c5d11823802175cfaf083a6fcd20a3006b27d51 (diff) | |
download | lanes-e809e215a38dc6859f9a1627c6b60289fadb504b.tar.gz lanes-e809e215a38dc6859f9a1627c6b60289fadb504b.tar.bz2 lanes-e809e215a38dc6859f9a1627c6b60289fadb504b.zip |
Make gcc happy
Diffstat (limited to '')
-rw-r--r-- | src/_pch.hpp | 4 | ||||
-rw-r--r-- | src/linda.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/_pch.hpp b/src/_pch.hpp index 495a959..a77b7f5 100644 --- a/src/_pch.hpp +++ b/src/_pch.hpp | |||
@@ -1,5 +1,3 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <algorithm> | 1 | #include <algorithm> |
4 | #include <array> | 2 | #include <array> |
5 | #include <atomic> | 3 | #include <atomic> |
@@ -9,6 +7,7 @@ | |||
9 | #include <compare> | 7 | #include <compare> |
10 | #include <concepts> | 8 | #include <concepts> |
11 | #include <condition_variable> | 9 | #include <condition_variable> |
10 | #include <cstring> | ||
12 | #include <functional> | 11 | #include <functional> |
13 | #include <iostream> | 12 | #include <iostream> |
14 | #ifndef __PROSPERO__ | 13 | #ifndef __PROSPERO__ |
@@ -19,6 +18,7 @@ | |||
19 | #include <ranges> | 18 | #include <ranges> |
20 | #include <source_location> | 19 | #include <source_location> |
21 | //#include <stop_token> | 20 | //#include <stop_token> |
21 | #include <span> | ||
22 | #include <string_view> | 22 | #include <string_view> |
23 | #include <thread> | 23 | #include <thread> |
24 | #include <tuple> | 24 | #include <tuple> |
diff --git a/src/linda.hpp b/src/linda.hpp index 7874db3..cff30e5 100644 --- a/src/linda.hpp +++ b/src/linda.hpp | |||
@@ -18,7 +18,7 @@ class Linda final | |||
18 | { | 18 | { |
19 | private: | 19 | private: |
20 | Linda& linda; | 20 | Linda& linda; |
21 | [[maybe_unused]] lua_State* const L; // just here for inspection while debugging | 21 | lua_State* const L{}; // just here for inspection while debugging |
22 | 22 | ||
23 | public: | 23 | public: |
24 | KeeperOperationInProgress(Linda& linda_, lua_State* const L_) | 24 | KeeperOperationInProgress(Linda& linda_, lua_State* const L_) |