Fix some example C++ Warnings

This commit is contained in:
Rob Loach
2024-12-18 02:31:48 -05:00
committed by Rob Loach
parent 6e4a8525d4
commit 872556df94
3 changed files with 6 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ int main(void)
threadId = std::thread(LoadDataThread);
TraceLog(LOG_INFO,
"Loading thread initialized successfully");
} catch (std::system_error e) {
} catch (std::system_error& e) {
TraceLog(LOG_ERROR, "Error: %s", e.what());
}