Skip to content

Commit

Permalink
IOSS: trying rule of 0 if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Jan 24, 2024
1 parent be39b94 commit 02b40b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions packages/seacas/applications/conjoin/CJ_ExodusEntity.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ namespace Excn {

template <typename INT> struct Mesh
{
Mesh() = default;

size_t count(ObjectType type) const
{
switch (type) {
Expand Down
5 changes: 0 additions & 5 deletions packages/seacas/libraries/ioss/src/Ioss_Field.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ namespace Ioss {
Field(std::string name, BasicType type, const VariableType *storage, RoleType role,
size_t value_count = 0, size_t index = 0);

Field(const Ioss::Field &from) = default;
Field &operator=(const Field &from) = default;
Field(Ioss::Field &&from) = default;
Field &operator=(Field &&from) = default;

// Compare two fields (used for STL container)
bool operator<(const Field &other) const;

Expand Down
6 changes: 0 additions & 6 deletions packages/seacas/libraries/ioss/src/Ioss_Property.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ namespace Ioss {
ATTRIBUTE ///< Property created from an Exodus or Database Attribute
};

Property() = default;
Property(std::string name, int64_t value, Origin origin = INTERNAL);
Property(std::string name, int value, Origin origin = INTERNAL);
Property(std::string name, double value, Origin origin = INTERNAL);
Expand All @@ -47,11 +46,6 @@ namespace Ioss {
// To set implicit property
Property(const GroupingEntity *ge, std::string name, BasicType type);

Property(const Property &from) = default;
Property &operator=(const Property &rhs) = default;
Property(Property &&from) = default;
Property &operator=(Property &&rhs) = default;

std::string get_string() const;
int64_t get_int() const;
double get_real() const;
Expand Down
4 changes: 0 additions & 4 deletions packages/seacas/libraries/ioss/src/exodus/Ioex_Internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ namespace Ioss {
namespace Ioex {
struct IOEX_EXPORT NodeBlock
{
NodeBlock() = default;
NodeBlock(const NodeBlock &other) = default;
explicit NodeBlock(const Ioss::NodeBlock &other);

std::string name{};
Expand All @@ -86,8 +84,6 @@ namespace Ioex {

struct IOEX_EXPORT Assembly
{
Assembly() = default;
Assembly(const Assembly &other) = default;
explicit Assembly(const Ioss::Assembly &other);

std::string name{};
Expand Down

0 comments on commit 02b40b5

Please sign in to comment.