Skip to content

Commit

Permalink
🚨 Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Jul 31, 2024
1 parent 7d9cbdd commit 5343089
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/ProjectManager/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "utils.h"
#include <CommandCore/CommandExecutionContext_Ref.h>
#include <CommandLineArgs/CommandLineArgs.h>
#include <Common/Path.h>
#include <ProjectManager/Command_OpenProject.h>
#include <ProjectManager/internal_utils.h>
Expand All @@ -10,6 +9,7 @@
#include "Command_OpenProject.h"
#include "Command_SaveProject.h"
#include "Command_SaveProjectAs.h"
#include "Cool/CommandLineArgs/CommandLineArgs.h"
#include "Cool/File/File.h"
#include "Cool/ImGui/ImGuiExtras.h"
#include "Cool/UserSettings/UserSettings.h"
Expand All @@ -23,9 +23,9 @@ void initial_project_opening(CommandExecutionContext_Ref const& ctx)
{
auto const path = [&]() -> std::filesystem::path {
// If any, load the project that was requested, e.g. when double-clicking on a .coollab file.
if (!command_line_args().get().empty())
if (!Cool::command_line_args().get().empty())
{
return command_line_args().get()[0];
return Cool::command_line_args().get()[0];
}
// Try the untitled project.
if (Cool::File::exists(Path::untitled_project()))
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "App.h"
#include "CommandLineArgs/CommandLineArgs.h"
#include "Cool/CommandLineArgs/CommandLineArgs.h"
#include "Cool/Path/Path.h"
#include "Cool/Path/PathsConfig.h"
//
Expand All @@ -19,7 +19,7 @@ class PathsConfig : public Cool::PathsConfig {

auto main(int argc, char** argv) -> int
{
Lab::command_line_args().init(argc, argv);
Cool::command_line_args().init(argc, argv);
Cool::Path::initialize<PathsConfig>();

Cool::run<Lab::App>({
Expand Down

0 comments on commit 5343089

Please sign in to comment.