mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-17 22:48:21 +00:00
fix: Windows archive file discovery
This commit is contained in:
@@ -350,7 +350,7 @@ inline bool eTYPE_FLAGSET(eINSTANCEOF flag, eINSTANCEOF claz) {
|
||||
|
||||
/// FOR CHECKING ///
|
||||
|
||||
#if !(defined _WINDOWS64)
|
||||
#if 1
|
||||
|
||||
class SubClass {
|
||||
static void checkDerivations() {}
|
||||
|
||||
@@ -122,9 +122,8 @@ File::File(const std::string& pathname) {
|
||||
File::File(const std::string& parent,
|
||||
const std::string& child) //: m_abstractPathName( child )
|
||||
{
|
||||
m_abstractPathName =
|
||||
pathRoot + pathSeparator + parent + pathSeparator + child;
|
||||
// this->parent = new File( parent );
|
||||
// Using std::filesystem::path to join paths properly
|
||||
m_abstractPathName = (std::filesystem::path(parent) / child).string();
|
||||
}
|
||||
|
||||
// Creates a new File instance by converting the given path vector into an
|
||||
|
||||
Reference in New Issue
Block a user