From 51561aab5a005bf3fcac3b765c4e203668c65105 Mon Sep 17 00:00:00 2001 From: "Garth N. Wells" Date: Fri, 1 Apr 2022 08:36:42 +0100 Subject: [PATCH] Syntax fix in declarations. --- bindings/CXX11/adios2/cxx11/Attribute.h | 6 +++--- bindings/CXX11/adios2/cxx11/Variable.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bindings/CXX11/adios2/cxx11/Attribute.h b/bindings/CXX11/adios2/cxx11/Attribute.h index fd55ab0b5e..931a3c7d45 100644 --- a/bindings/CXX11/adios2/cxx11/Attribute.h +++ b/bindings/CXX11/adios2/cxx11/Attribute.h @@ -43,8 +43,8 @@ class Attribute * attributes from IO:DefineAttribute or IO:InquireAttribute. * Can be used with STL containers. */ - Attribute() = default; - ~Attribute() = default; + Attribute() = default; + ~Attribute() = default; /** Checks if object is valid, e.g. if( attribute ) { //..valid } */ explicit operator bool() const noexcept; @@ -74,7 +74,7 @@ class Attribute bool IsValue() const; private: - Attribute(core::Attribute *attribute); + Attribute(core::Attribute *attribute); core::Attribute *m_Attribute = nullptr; }; diff --git a/bindings/CXX11/adios2/cxx11/Variable.h b/bindings/CXX11/adios2/cxx11/Variable.h index 9cce77c776..4d26281e2d 100644 --- a/bindings/CXX11/adios2/cxx11/Variable.h +++ b/bindings/CXX11/adios2/cxx11/Variable.h @@ -141,10 +141,10 @@ class Variable * variables from IO:DefineVariable or IO:InquireVariable. * Can be used with STL containers. */ - Variable() = default; + Variable() = default; /** Default, using RAII STL containers */ - ~Variable() = default; + ~Variable() = default; /** Checks if object is valid, e.g. if( variable ) { //..valid } */ explicit operator bool() const noexcept; @@ -389,7 +389,7 @@ class Variable using Span = adios2::detail::Span; private: - Variable(core::Variable *variable); + Variable(core::Variable *variable); core::Variable *m_Variable = nullptr; std::vector::Info>> DoAllStepsBlocksInfo();