Skip to content

Commit 3e38a08

Browse files
committed
Added definitions for static const constexpr.
1 parent 00e95f6 commit 3e38a08

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/fast++.cpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33

44
const char* fastpp_version = "1.0";
55

6+
const constexpr uint_t grid_id::z;
7+
const constexpr uint_t grid_id::av;
8+
const constexpr uint_t grid_id::age;
9+
const constexpr uint_t grid_id::metal;
10+
const constexpr uint_t grid_id::custom;
11+
12+
const constexpr uint_t prop_id::scale;
13+
const constexpr uint_t prop_id::spec_scale;
14+
const constexpr uint_t prop_id::mass;
15+
const constexpr uint_t prop_id::sfr;
16+
const constexpr uint_t prop_id::ssfr;
17+
const constexpr uint_t prop_id::ldust;
18+
const constexpr uint_t prop_id::lion;
19+
const constexpr uint_t prop_id::mform;
20+
const constexpr uint_t prop_id::custom;
21+
622
int phypp_main(int argc, char* argv[]) {
723
std::string param_file = (argc >= 2 ? argv[1] : "fast.param");
824

0 commit comments

Comments
 (0)