Skip to content

Commit e302fb3

Browse files
committed
EAMxx: minor cleanup in homme dyn helpers
1 parent 6cc351e commit e302fb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/eamxx/src/dynamics/homme/homme_dynamics_helpers.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ struct HommeContextUser {
3636
Homme::Context::singleton().finalize_singleton();
3737
}
3838
}
39-
int get_counter () const { return counter; }
39+
4040
static HommeContextUser& singleton() {
4141
static HommeContextUser hcu;
4242
return hcu;
4343
}
4444
private:
45-
HommeContextUser () : counter(0) {}
46-
int counter;
45+
HommeContextUser () = default;
46+
int counter = 0;
4747
};
4848

4949
} // namespace scream

0 commit comments

Comments
 (0)