summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Config
diff options
context:
space:
mode:
authorTechjar <tecknojar@gmail.com>2019-05-05 23:48:12 +0000
committerTechjar <tecknojar@gmail.com>2019-05-06 18:48:04 +0000
commitff972e3673cf70c67e5daf52d5cc913b1df7a1ba (patch)
tree4392c427ebeb64fd4aba1bdafb1959dc03dbfeb9 /Source/Core/Common/Config
parentd347867f2e4153c86535ef5e6eed6efa49818d65 (diff)
Reformat repo to clang-format 7.0 rules
Diffstat (limited to 'Source/Core/Common/Config')
-rw-r--r--Source/Core/Common/Config/ConfigInfo.cpp2
-rw-r--r--Source/Core/Common/Config/ConfigInfo.h2
-rw-r--r--Source/Core/Common/Config/Enums.h2
-rw-r--r--Source/Core/Common/Config/Layer.cpp2
-rw-r--r--Source/Core/Common/Config/Layer.h4
5 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Common/Config/ConfigInfo.cpp b/Source/Core/Common/Config/ConfigInfo.cpp
index 47d2e25c84..1d4084c3c6 100644
--- a/Source/Core/Common/Config/ConfigInfo.cpp
+++ b/Source/Core/Common/Config/ConfigInfo.cpp
@@ -32,4 +32,4 @@ bool ConfigLocation::operator<(const ConfigLocation& other) const
const int key_compare = strcasecmp(key.c_str(), other.key.c_str());
return key_compare < 0;
}
-}
+} // namespace Config
diff --git a/Source/Core/Common/Config/ConfigInfo.h b/Source/Core/Common/Config/ConfigInfo.h
index c5c4cc49a1..ecea74a04b 100644
--- a/Source/Core/Common/Config/ConfigInfo.h
+++ b/Source/Core/Common/Config/ConfigInfo.h
@@ -50,4 +50,4 @@ struct ConfigInfo
ConfigLocation location;
T default_value;
};
-}
+} // namespace Config
diff --git a/Source/Core/Common/Config/Enums.h b/Source/Core/Common/Config/Enums.h
index 0dffff7f17..1363c78913 100644
--- a/Source/Core/Common/Config/Enums.h
+++ b/Source/Core/Common/Config/Enums.h
@@ -41,4 +41,4 @@ constexpr std::array<LayerType, 7> SEARCH_ORDER{{
LayerType::GlobalGame,
LayerType::Base,
}};
-}
+} // namespace Config
diff --git a/Source/Core/Common/Config/Layer.cpp b/Source/Core/Common/Config/Layer.cpp
index 8eba0d7c1a..0e201001be 100644
--- a/Source/Core/Common/Config/Layer.cpp
+++ b/Source/Core/Common/Config/Layer.cpp
@@ -97,4 +97,4 @@ const LayerMap& Layer::GetLayerMap() const
{
return m_map;
}
-}
+} // namespace Config
diff --git a/Source/Core/Common/Config/Layer.h b/Source/Core/Common/Config/Layer.h
index 2e84d6c3d1..dec08ab2f6 100644
--- a/Source/Core/Common/Config/Layer.h
+++ b/Source/Core/Common/Config/Layer.h
@@ -42,7 +42,7 @@ inline std::optional<std::string> TryParse(const std::string& str_value)
{
return str_value;
}
-}
+} // namespace detail
template <typename T>
struct ConfigInfo;
@@ -154,4 +154,4 @@ protected:
const LayerType m_layer;
std::unique_ptr<ConfigLayerLoader> m_loader;
};
-}
+} // namespace Config