Skip to content

Commit 73fd78b

Browse files
committed
ConfigNodeWithPreset refactoring
1 parent 60b5cff commit 73fd78b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

source/parser/config_reader/config_node_with_preset_impl.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ConfigNodeWithPresetExpected ConfigNodeWithPreset::operator[](
7878
std::nullopt);
7979
}
8080

81-
std::ostream& operator<<(std::ostream& out, const ConfigNodeWithPreset& node){
81+
std::ostream& operator<<(std::ostream& out, const ConfigNodeWithPreset& node) {
8282
return out << node.get_node();
8383
}
8484

@@ -95,7 +95,8 @@ const ConfigNode& ConfigNodeWithPreset::get_node() const noexcept {
9595
return m_node;
9696
}
9797

98-
[[nodiscard]] const std::optional<std::string>& ConfigNodeWithPreset::get_name() const{
98+
[[nodiscard]] const std::optional<std::string>& ConfigNodeWithPreset::get_name()
99+
const {
99100
return m_node.get_name();
100101
}
101102

0 commit comments

Comments
 (0)