diff options
author | rtk0c <[email protected]> | 2022-11-27 12:04:31 -0800 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-11-27 12:04:31 -0800 |
commit | 182c8f8357739f905bbd721006480502435b6b43 (patch) | |
tree | 082613a474d863182e2ad8f2167f1643f26e67a3 /app/source/Cplt/Model/Workflow/Value_Main.cpp | |
parent | b01ed99a1cd0c863c8709930658513c04dd70f61 (diff) |
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Model/Workflow/Value_Main.cpp')
-rw-r--r-- | app/source/Cplt/Model/Workflow/Value_Main.cpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/app/source/Cplt/Model/Workflow/Value_Main.cpp b/app/source/Cplt/Model/Workflow/Value_Main.cpp index ca972c4..ab78b86 100644 --- a/app/source/Cplt/Model/Workflow/Value_Main.cpp +++ b/app/source/Cplt/Model/Workflow/Value_Main.cpp @@ -1,35 +1,28 @@ #include "Value.hpp" BaseValue::BaseValue(Kind kind) - : mKind{ kind } -{ + : mKind{ kind } { } -BaseValue::Kind BaseValue::GetKind() const -{ +BaseValue::Kind BaseValue::GetKind() const { return mKind; } -bool BaseValue::SupportsConstant() const -{ +bool BaseValue::SupportsConstant() const { return false; } -void BaseValue::ReadFrom(std::istream& stream) -{ +void BaseValue::ReadFrom(std::istream& stream) { } -void BaseValue::WriteTo(std::ostream& stream) -{ +void BaseValue::WriteTo(std::ostream& stream) { } BaseObjectValue::BaseObjectValue(Kind kind) - : BaseValue(kind) -{ + : BaseValue(kind) { assert(kind >= KD_BaseObject && kind <= KD_BaseObjectLast); } -const BaseObjectDescription& BaseObjectValue::GetObjectDescription() const -{ +const BaseObjectDescription& BaseObjectValue::GetObjectDescription() const { return QueryObjectInfo(this->GetKind()); } |