Fixing lvalue errors on linux build

nfd is not yet linking on Linux
This commit is contained in:
2023-05-13 21:32:55 +02:00
parent f7e087ee8d
commit 95f77209cf
6 changed files with 26 additions and 13 deletions

View File

@ -1,7 +1,7 @@
#pragma once
#include "../../YoggieEngine/src/YoggieEngine.h"
#include "EditorWindow.h"
#include "AssetManagement/AssetRegistry.h"
#include "../EditorWindow.h"
#include "AssetRegistry.h"
const char* hidden_extensions [] {
".exe",
@ -39,7 +39,9 @@ public:
continue;
Asset asset(filepath.filename().string().c_str());
asset.setFilPath(filepath.string());
auto filepathStr = filepath.string();
asset.setFilPath(filepathStr);
spdlog::info("Created asset: {0}", asset.GetName());
files.push_back(asset);