From dc86fe5b1abffcf9ed990fdd41d83f213df84d66 Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Mon, 30 Dec 2024 10:52:02 -0500 Subject: [PATCH] CarpetX: clang-format code used clang-format-16 -style file -i --- CarpetX/src/driver.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CarpetX/src/driver.hxx b/CarpetX/src/driver.hxx index ead9fe065..e003fbd96 100644 --- a/CarpetX/src/driver.hxx +++ b/CarpetX/src/driver.hxx @@ -160,7 +160,8 @@ struct GHExt { public: AnyTypeVector() : _type(-1), _typesize(-1), _count(0), _data(nullptr){}; - AnyTypeVector(int type_, size_t count_) : _type(-1), _typesize(-1), _count(0), _data(nullptr) { + AnyTypeVector(int type_, size_t count_) + : _type(-1), _typesize(-1), _count(0), _data(nullptr) { alloc(type_, count_); assert(_type == type_); assert(_typesize != -1); @@ -174,7 +175,9 @@ struct GHExt { swap(other); return *this; } - AnyTypeVector(AnyTypeVector &&other) : _type(other._type), _typesize(other._typesize), _count(other._count), _data(other._data) { + AnyTypeVector(AnyTypeVector &&other) + : _type(other._type), _typesize(other._typesize), + _count(other._count), _data(other._data) { other._type = -1; other._typesize = -1; other._count = 0; @@ -246,7 +249,7 @@ struct GHExt { size_t size() const { return _count; }; friend YAML::Emitter &operator<<(YAML::Emitter &yaml, - const AnyTypeVector &commongroupdata); + const AnyTypeVector &anytypevector); }; // For subcycling in time, there really should be one copy of each