From 670638e73f33efb7303623c85f49e8ac431caec2 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Wed, 22 Jun 2022 13:51:26 +0200 Subject: [PATCH] STY: formatting --- include/caosdb/entity.h | 2 +- test/test_data_type.cpp | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/caosdb/entity.h b/include/caosdb/entity.h index 32722a8..52a69e0 100644 --- a/include/caosdb/entity.h +++ b/include/caosdb/entity.h @@ -707,7 +707,7 @@ public: : static_cast<ProtoDataType *>(nullptr)) { properties.wrapped = this->wrapped->mutable_properties(); parents.wrapped = this->wrapped->mutable_parents(); - if(this->wrapped->has_file_descriptor()) { + if (this->wrapped->has_file_descriptor()) { file_descriptor.wrapped = this->wrapped->mutable_file_descriptor(); } }; diff --git a/test/test_data_type.cpp b/test/test_data_type.cpp index 02861d3..6b7b8b6 100644 --- a/test/test_data_type.cpp +++ b/test/test_data_type.cpp @@ -20,17 +20,17 @@ * */ -#include "caosdb/data_type.h" // for DataType, AtomicDataType -#include "caosdb/entity.h" // for Entity -#include "caosdb/entity/v1/main.pb.h" // for DataType, Ato... -#include "caosdb/logging.h" // for CAOSDB_LOG_DEBUG -#include "caosdb/protobuf_helper.h" // for CAOSDB_DEBUG_... -#include <gtest/gtest-message.h> // for Message -#include <gtest/gtest-test-part.h> // for TestPartResult, SuiteApi... -#include <gtest/gtest_pred_impl.h> // for AssertionResult, Test -#include <map> // for map, operator!= -#include <string> // for allocator -#include <utility> // for pair +#include "caosdb/data_type.h" // for DataType, AtomicDataType +#include "caosdb/entity.h" // for Entity +#include "caosdb/entity/v1/main.pb.h" // for DataType, Ato... +#include "caosdb/logging.h" // for CAOSDB_LOG_DEBUG +#include "caosdb/protobuf_helper.h" // for CAOSDB_DEBUG_... +#include <gtest/gtest-message.h> // for Message +#include <gtest/gtest-test-part.h> // for TestPartResult, SuiteApi... +#include <gtest/gtest_pred_impl.h> // for AssertionResult, Test +#include <map> // for map, operator!= +#include <string> // for allocator +#include <utility> // for pair namespace caosdb::entity { using ProtoEntity = caosdb::entity::v1::Entity; -- GitLab