diff options
Diffstat (limited to 'src/crepe/api/Resource.cpp')
-rw-r--r-- | src/crepe/api/Resource.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crepe/api/Resource.cpp b/src/crepe/api/Resource.cpp index 1a647ce..f7f2516 100644 --- a/src/crepe/api/Resource.cpp +++ b/src/crepe/api/Resource.cpp @@ -1,11 +1,15 @@ #include <filesystem> +#include <iostream> +#include <iterator> #include "Resource.h" +#include "util/log.h" using namespace crepe::api; Resource::Resource(const std::string & src) { - this->src = std::filesystem::canonical(src); + dbg_trace(); + this->src = std::filesystem::path(src); this->file = std::ifstream(this->src, std::ios::in | std::ios::binary); } |