diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-11-22 14:44:33 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-11-22 15:36:14 -0500 |
| commit | cb8fbe872e86705136bd1fa5f50b2bccfbb9b50a (patch) | |
| tree | 6d4143521a18a8b032bd39274df13fa16a42babc /Source/Core/InputCommon/ControlReference/FunctionExpression.cpp | |
| parent | 6586ecc7a861815cfa00208392455a0b329e394b (diff) | |
InputCommon/FunctionExpression: Collapse namespaces
Since we target C++17, we can collapse the namespaces into a single
declaration specifier.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/FunctionExpression.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControlReference/FunctionExpression.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControlReference/FunctionExpression.cpp b/Source/Core/InputCommon/ControlReference/FunctionExpression.cpp index f1cdc690a3..8bfd57402d 100644 --- a/Source/Core/InputCommon/ControlReference/FunctionExpression.cpp +++ b/Source/Core/InputCommon/ControlReference/FunctionExpression.cpp @@ -8,9 +8,7 @@ #include <chrono> #include <cmath> -namespace ciface -{ -namespace ExpressionParser +namespace ciface::ExpressionParser { constexpr int LOOP_MAX_REPS = 10000; constexpr ControlState CONDITION_THRESHOLD = 0.5; @@ -523,5 +521,4 @@ void FunctionExpression::SetValue(ControlState) { } -} // namespace ExpressionParser -} // namespace ciface +} // namespace ciface::ExpressionParser |
