We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc351e commit e302fb3Copy full SHA for e302fb3
components/eamxx/src/dynamics/homme/homme_dynamics_helpers.hpp
@@ -36,14 +36,14 @@ struct HommeContextUser {
36
Homme::Context::singleton().finalize_singleton();
37
}
38
39
- int get_counter () const { return counter; }
+
40
static HommeContextUser& singleton() {
41
static HommeContextUser hcu;
42
return hcu;
43
44
private:
45
- HommeContextUser () : counter(0) {}
46
- int counter;
+ HommeContextUser () = default;
+ int counter = 0;
47
};
48
49
} // namespace scream
0 commit comments