Fixing lvalue errors on linux build
nfd is not yet linking on Linux
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user