mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
26 lines
621 B
C++
26 lines
621 B
C++
|
// Copyright 2016 Dolphin Emulator Project
|
||
|
// Licensed under GPLv2+
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#include <strings.h>
|
||
|
|
||
|
#include "Common/Config/ConfigInfo.h"
|
||
|
|
||
|
namespace Config
|
||
|
{
|
||
|
bool ConfigLocation::operator==(const ConfigLocation& other) const
|
||
|
{
|
||
|
return std::tie(system, section, key) == std::tie(other.system, other.section, other.key);
|
||
|
}
|
||
|
|
||
|
bool ConfigLocation::operator!=(const ConfigLocation& other) const
|
||
|
{
|
||
|
return !(*this == other);
|
||
|
}
|
||
|
|
||
|
bool ConfigLocation::operator<(const ConfigLocation& other) const
|
||
|
{
|
||
|
return std::tie(system, section, key) < std::tie(other.system, other.section, other.key);
|
||
|
}
|
||
|
}
|