diff options
Diffstat (limited to 'src/project.cpp')
| -rw-r--r-- | src/project.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/project.cpp b/src/project.cpp index c94451f..a27daba 100644 --- a/src/project.cpp +++ b/src/project.cpp @@ -5,6 +5,7 @@ #include "entities.hpp" #include "helpers.hpp" #include "font.hpp" +#include "project-settings.hpp" #include <fstream> #include <ostream> @@ -413,7 +414,7 @@ void PkeProject_Save(const char *filePath) { } stream << PKE_PROJ_FILE_END << std::endl; - } catch (std::exception e) { + } catch (std::exception &e) { fprintf(stderr, "[%s][PkeProject_Save] Failed to serialize project file: %s\n", __FILE__, e.what()); failed = false; } catch (...) { |
