|
@@ -65,8 +65,8 @@ namespace Assimp {
|
|
|
// ----------------------------------------------------------------------------------
|
|
|
class MemoryIOStream : public IOStream {
|
|
|
public:
|
|
|
- MemoryIOStream (const uint8_t* buff, size_t len, bool own = false) :
|
|
|
- buffer (buff),
|
|
|
+ MemoryIOStream (const uint8_t* buff, size_t len, bool own = false) :
|
|
|
+ buffer (buff),
|
|
|
length(len),
|
|
|
pos(static_cast<size_t>(0)),
|
|
|
own(own) {
|
|
@@ -145,7 +145,7 @@ public:
|
|
|
}
|
|
|
|
|
|
/// @brief Destructor.
|
|
|
- ~MemoryIOSystem() = default;
|
|
|
+ ~MemoryIOSystem() override = default;
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
/// @brief Tests for the existence of a file at the given path.
|
|
@@ -190,7 +190,7 @@ public:
|
|
|
bool ComparePaths(const char* one, const char* second) const override {
|
|
|
return existing_io ? existing_io->ComparePaths(one, second) : false;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
/// @brief Will push the directory.
|
|
|
bool PushDirectory( const std::string &path ) override {
|
|
|
return existing_io ? existing_io->PushDirectory(path) : false;
|
|
@@ -216,7 +216,7 @@ public:
|
|
|
bool CreateDirectory( const std::string &path ) override {
|
|
|
return existing_io ? existing_io->CreateDirectory(path) : false;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
/// @brief Will change the directory.
|
|
|
bool ChangeDirectory( const std::string &path ) override {
|
|
|
return existing_io ? existing_io->ChangeDirectory(path) : false;
|