diff options
author | Lioncash <mathew1800@gmail.com> | 2016-01-25 06:10:05 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-01-25 06:14:53 +0100 |
commit | 3ed5ecd67ab36fb8de81d8da85245d3e1361dda8 (patch) | |
tree | 573369fec57f60223bda8cbf111504f82bea8426 /src | |
parent | Merge pull request #1334 from tfarley/hw-depth-modifiers (diff) | |
download | yuzu-3ed5ecd67ab36fb8de81d8da85245d3e1361dda8.tar yuzu-3ed5ecd67ab36fb8de81d8da85245d3e1361dda8.tar.gz yuzu-3ed5ecd67ab36fb8de81d8da85245d3e1361dda8.tar.bz2 yuzu-3ed5ecd67ab36fb8de81d8da85245d3e1361dda8.tar.lz yuzu-3ed5ecd67ab36fb8de81d8da85245d3e1361dda8.tar.xz yuzu-3ed5ecd67ab36fb8de81d8da85245d3e1361dda8.tar.zst yuzu-3ed5ecd67ab36fb8de81d8da85245d3e1361dda8.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/file_sys/archive_backend.cpp | 8 | ||||
-rw-r--r-- | src/core/file_sys/archive_backend.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/core/file_sys/archive_backend.cpp b/src/core/file_sys/archive_backend.cpp index 3f81447df..97adf0e12 100644 --- a/src/core/file_sys/archive_backend.cpp +++ b/src/core/file_sys/archive_backend.cpp @@ -43,7 +43,7 @@ Path::Path(LowPathType type, u32 size, u32 pointer) : type(type) { } } -const std::string Path::DebugStr() const { +std::string Path::DebugStr() const { switch (GetType()) { case Invalid: default: @@ -66,7 +66,7 @@ const std::string Path::DebugStr() const { } } -const std::string Path::AsString() const { +std::string Path::AsString() const { switch (GetType()) { case Char: return string; @@ -83,7 +83,7 @@ const std::string Path::AsString() const { } } -const std::u16string Path::AsU16Str() const { +std::u16string Path::AsU16Str() const { switch (GetType()) { case Char: return Common::UTF8ToUTF16(string); @@ -99,7 +99,7 @@ const std::u16string Path::AsU16Str() const { } } -const std::vector<u8> Path::AsBinary() const { +std::vector<u8> Path::AsBinary() const { switch (GetType()) { case Binary: return binary; diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h index e7a59a1ed..601e95d8c 100644 --- a/src/core/file_sys/archive_backend.h +++ b/src/core/file_sys/archive_backend.h @@ -49,11 +49,11 @@ public: * Gets the string representation of the path for debugging * @return String representation of the path for debugging */ - const std::string DebugStr() const; + std::string DebugStr() const; - const std::string AsString() const; - const std::u16string AsU16Str() const; - const std::vector<u8> AsBinary() const; + std::string AsString() const; + std::u16string AsU16Str() const; + std::vector<u8> AsBinary() const; private: LowPathType type; |