about summary refs log tree commit diff stats
path: root/src/ipc_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc_state.cpp')
-rw-r--r--src/ipc_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipc_state.cpp b/src/ipc_state.cpp index cba576c..1f8d286 100644 --- a/src/ipc_state.cpp +++ b/src/ipc_state.cpp
@@ -103,7 +103,7 @@ struct IPCState {
103 return player_position; 103 return player_position;
104 } 104 }
105 105
106 const std::set<std::string>& GetSolvedPanels() { 106 std::set<std::string> GetSolvedPanels() {
107 std::lock_guard state_guard(state_mutex); 107 std::lock_guard state_guard(state_mutex);
108 108
109 return solved_panels; 109 return solved_panels;
@@ -383,6 +383,6 @@ std::optional<std::tuple<int, int>> IPC_GetPlayerPosition() {
383 return GetState().GetPlayerPosition(); 383 return GetState().GetPlayerPosition();
384} 384}
385 385
386const std::set<std::string>& IPC_GetSolvedPanels() { 386std::set<std::string> IPC_GetSolvedPanels() {
387 return GetState().GetSolvedPanels(); 387 return GetState().GetSolvedPanels();
388} 388}