diff options
| author | Kenix3 <kenixwhisperwind@gmail.com> | 2023-11-17 09:39:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-17 08:39:13 -0600 |
| commit | a71c9b187f5df8ed3b25f176699405d3e59bd4c9 (patch) | |
| tree | f962cbe1bbebd3ac430b72addccc152b9aa4bb4f /src/Companion.cpp | |
| parent | 0700ca68b1f3656a54ba15498152c55299451dae (diff) | |
Windows issues (#13)
* Fix build errors in MSVS.
* Fixes issues in types for light factory.
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index 761f2eb..5780d29 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -329,7 +329,7 @@ void Companion::Process() { std::ofstream file(output, std::ios::binary); if(gExporterType == ExportType::Header) { - std::string symbol = entry.path().stem(); + std::string symbol = entry.path().stem().string(); std::transform(symbol.begin(), symbol.end(), symbol.begin(), toupper); file << "#ifndef " << symbol << "_H" << std::endl; file << "#define " << symbol << "_H" << std::endl << std::endl; |
