aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/nca_metadata.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-05 15:20:04 -0400
committerLioncash <mathew1800@gmail.com>2019-04-05 15:20:07 -0400
commit0359cba0f3b956dffd3d3235e8393fcd56018ade (patch)
treed92ff69d610544b68c8d2225214f423239db43e7 /src/core/file_sys/nca_metadata.cpp
parent6e99d5146f62b205ca75a9baed88d4bf64a4c45a (diff)
file_sys/nca_metadata: Remove unnecessary comparison operators for TitleType
enum class elements from the same enum can already be compared against one another without the need for explicitly defined comparison operators.
Diffstat (limited to 'src/core/file_sys/nca_metadata.cpp')
-rw-r--r--src/core/file_sys/nca_metadata.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/file_sys/nca_metadata.cpp b/src/core/file_sys/nca_metadata.cpp
index 6f34b7836b..93d0df6b95 100644
--- a/src/core/file_sys/nca_metadata.cpp
+++ b/src/core/file_sys/nca_metadata.cpp
@@ -10,14 +10,6 @@
namespace FileSys {
-bool operator>=(TitleType lhs, TitleType rhs) {
- return static_cast<std::size_t>(lhs) >= static_cast<std::size_t>(rhs);
-}
-
-bool operator<=(TitleType lhs, TitleType rhs) {
- return static_cast<std::size_t>(lhs) <= static_cast<std::size_t>(rhs);
-}
-
CNMT::CNMT(VirtualFile file) {
if (file->ReadObject(&header) != sizeof(CNMTHeader))
return;