File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
target_data/Cpp/cppDesktop/include Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ namespace sakurajin{
210
210
211
211
//forward declare all units
212
212
{% for unit in units %}
213
- UNIT_SYSTEM_EXPORT_MACRO typedef {{ unit.name }}_t<UNIT_SYSTEM_DEFAULT_TYPE> {{ unit.name }};
213
+ typedef {{ unit.name }}_t<UNIT_SYSTEM_DEFAULT_TYPE> {{ unit.name }};
214
214
{% endfor %}
215
215
216
216
@@ -219,10 +219,10 @@ namespace sakurajin{
219
219
{% for unit in units %}
220
220
{% if unit.literals|length > 0 %}
221
221
{% for literal in unit.literals %}
222
- {{ extra_data.export_macro }} auto operator "" _{{ literal.code_literal }}(long double val){
222
+ inline auto operator "" _{{ literal.code_literal }}(long double val){
223
223
return sakurajin::unit_system::{{ unit.name }}{val,{{ literal.multiplier }}, {{ literal.offset }}};
224
224
}
225
- {{ extra_data.export_macro }} auto operator "" _{{ literal.code_literal }}(unsigned long long int val){
225
+ inline auto operator "" _{{ literal.code_literal }}(unsigned long long int val){
226
226
return sakurajin::unit_system::{{ unit.name }}{static_cast<long double>(val),{{ literal.multiplier }}, {{ literal.offset }}};
227
227
}
228
228
{% endfor %}
You can’t perform that action at this time.
0 commit comments