diff --git a/deps/ox/src/ox/fs/filesystem/filelocation.cpp b/deps/ox/src/ox/fs/filesystem/filelocation.cpp index b12cfd96..d0ac5924 100644 --- a/deps/ox/src/ox/fs/filesystem/filelocation.cpp +++ b/deps/ox/src/ox/fs/filesystem/filelocation.cpp @@ -36,13 +36,6 @@ FileAddress::FileAddress(ox::CRStringView path) noexcept { m_type = FileAddressType::Path; } -FileAddress::FileAddress(char *path) noexcept { - auto pathSize = ox_strlen(path) + 1; - m_data.path = new char[pathSize]; - memcpy(m_data.path, path, pathSize); - m_type = FileAddressType::Path; -} - FileAddress &FileAddress::operator=(const FileAddress &other) noexcept { if (this == &other) { return *this; diff --git a/deps/ox/src/ox/fs/filesystem/filelocation.hpp b/deps/ox/src/ox/fs/filesystem/filelocation.hpp index c5f026b0..2c1edbd7 100644 --- a/deps/ox/src/ox/fs/filesystem/filelocation.hpp +++ b/deps/ox/src/ox/fs/filesystem/filelocation.hpp @@ -59,12 +59,6 @@ class FileAddress { explicit FileAddress(CRStringView path) noexcept; - template - explicit FileAddress(const ox::BasicString &path) noexcept: FileAddress(StringView(path)) { - } - - explicit FileAddress(char *path) noexcept; - constexpr FileAddress(ox::StringLiteral path) noexcept; constexpr ~FileAddress() noexcept;