Skip to content

Commit

Permalink
[WIP] fix: str doesn't need to be static (func called once)
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Oct 7, 2024
1 parent 7ba24dd commit 61e5051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/EditorLayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ namespace volt::renderer {
}

void EditorLayer::Setup(void) const noexcept {
static constexpr auto config_filename { "volt.ini" };
constexpr auto config_filename { "volt.ini" };
if (not std::filesystem::exists(config_filename) or not std::filesystem::is_regular_file(config_filename)) {
if (not ChangeDirectory(GetApplicationDirectory())) {
VOLT_LOG_WARN("volt::renderer::EditorLayer::Setup :: could not change CWD to Volt's editor binary directory");
Expand Down

0 comments on commit 61e5051

Please sign in to comment.