aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Model/Template/Template_RTTI.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-11-27 12:04:31 -0800
committerrtk0c <[email protected]>2022-11-27 12:04:31 -0800
commit182c8f8357739f905bbd721006480502435b6b43 (patch)
tree082613a474d863182e2ad8f2167f1643f26e67a3 /app/source/Cplt/Model/Template/Template_RTTI.cpp
parentb01ed99a1cd0c863c8709930658513c04dd70f61 (diff)
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Model/Template/Template_RTTI.cpp')
-rw-r--r--app/source/Cplt/Model/Template/Template_RTTI.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/source/Cplt/Model/Template/Template_RTTI.cpp b/app/source/Cplt/Model/Template/Template_RTTI.cpp
index a96680b..40403ab 100644
--- a/app/source/Cplt/Model/Template/Template_RTTI.cpp
+++ b/app/source/Cplt/Model/Template/Template_RTTI.cpp
@@ -3,8 +3,7 @@
#include <Cplt/Model/Template/TableTemplate.hpp>
#include <Cplt/Utils/I18n.hpp>
-const char* Template::FormatKind(Kind kind)
-{
+const char* Template::FormatKind(Kind kind) {
switch (kind) {
case KD_Table: return I18N_TEXT("Table template", L10N_TEMPLATE_TABLE);
@@ -13,8 +12,7 @@ const char* Template::FormatKind(Kind kind)
return "";
}
-std::unique_ptr<Template> Template::CreateByKind(Kind kind)
-{
+std::unique_ptr<Template> Template::CreateByKind(Kind kind) {
switch (kind) {
case KD_Table: return std::make_unique<TableTemplate>();
@@ -23,7 +21,6 @@ std::unique_ptr<Template> Template::CreateByKind(Kind kind)
return nullptr;
}
-bool Template::IsInstance(const Template* tmpl)
-{
+bool Template::IsInstance(const Template* tmpl) {
return true;
}