Skip to content

Commit 61e5051

Browse files
committed
[WIP] fix: str doesn't need to be static (func called once)
1 parent 7ba24dd commit 61e5051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Renderer/EditorLayer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ namespace volt::renderer {
185185
}
186186

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

0 commit comments

Comments
 (0)