Skip to content

Commit a8cea17

Browse files
committed
Please consider the following formatting changes
1 parent b523d93 commit a8cea17

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Framework/Core/include/Framework/Expressions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ struct PlaceholderNode : LiteralNode {
170170
: LiteralNode{defaultValue},
171171
name{path}
172172
{
173-
retrieve = [](InitContext& context, char const* name){ return LiteralNode::var_t{context.options().get<T>(name)}; };
173+
retrieve = [](InitContext& context, char const* name) { return LiteralNode::var_t{context.options().get<T>(name)}; };
174174
}
175175

176176
void reset(InitContext& context)

Framework/Core/src/Expressions.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ constexpr std::array<std::string_view, BasicOp::Conditional + 1> mapping{
6565
"ifnode"};
6666

6767
constexpr std::array<std::string_view, 8> cfgtypes{
68-
"uint16_t", // 0
69-
"int16_t", // 1
70-
"uint32_t", // 2
71-
"int32_t", // 3
72-
"uint64_t", // 4
73-
"int64_t", // 5
74-
"float", // 6
75-
"double" // 7
68+
"uint16_t", // 0
69+
"int16_t", // 1
70+
"uint32_t", // 2
71+
"int32_t", // 3
72+
"uint64_t", // 4
73+
"int64_t", // 5
74+
"float", // 6
75+
"double" // 7
7676
};
7777

7878
/// math constants to recognize in string expressions
@@ -825,7 +825,7 @@ Tokenizer::Tokenizer(std::string const& input)
825825
LastChar = ' ';
826826
if (!source.empty()) {
827827
source.erase(std::remove_if(source.begin(), source.end(), ::isspace), source.end()); // strip whitespaces
828-
source.erase(std::remove(source.begin(), source.end(), '\"'), source.end()); // strip quotes
828+
source.erase(std::remove(source.begin(), source.end(), '\"'), source.end()); // strip quotes
829829
}
830830
current = source.begin();
831831
}
@@ -840,7 +840,7 @@ void Tokenizer::reset(std::string const& input)
840840
source = input;
841841
if (!source.empty()) {
842842
source.erase(std::remove_if(source.begin(), source.end(), ::isspace), source.end()); // strip whitespaces
843-
source.erase(std::remove(source.begin(), source.end(), '\"'), source.end()); // strip quotes
843+
source.erase(std::remove(source.begin(), source.end(), '\"'), source.end()); // strip quotes
844844
}
845845
current = source.begin();
846846
currentToken = Token::Unexpected;

0 commit comments

Comments
 (0)