You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors:
4>SucroseConversion.cpp
4>D:\Git\brewtarget\src\measurement\SucroseConversion.cpp(47,55): error C2370: 'Measurement::sucroseConversions': redefinition; different storage class
4>D:\Git\brewtarget\src\measurement/SucroseConversion.h(33,35): message : see declaration of 'Measurement::sucroseConversions'
4>D:\Git\brewtarget\src\measurement\SucroseConversion.cpp(852,31): error C2370: 'Measurement::sucroseConversions_size': redefinition; different storage class
4>D:\Git\brewtarget\src\measurement/SucroseConversion.h(35,24): message : see declaration of 'Measurement::sucroseConversions_size'
4>D:\Git\brewtarget\src\measurement\SucroseConversion.cpp(852,31): error C2737: 'Measurement::sucroseConversions_size': constexpr object must be initialized
The text was updated successfully, but these errors were encountered:
Looks like error in declaration should be const instead of constexpr:
size_t const Measurement::sucroseConversions_size = std::size(Measurement::sucroseConversions);
and
Measurement::SucroseConversion const Measurement::sucroseConversions[] = { ...
Errors:
4>SucroseConversion.cpp
4>D:\Git\brewtarget\src\measurement\SucroseConversion.cpp(47,55): error C2370: 'Measurement::sucroseConversions': redefinition; different storage class
4>D:\Git\brewtarget\src\measurement/SucroseConversion.h(33,35): message : see declaration of 'Measurement::sucroseConversions'
4>D:\Git\brewtarget\src\measurement\SucroseConversion.cpp(852,31): error C2370: 'Measurement::sucroseConversions_size': redefinition; different storage class
4>D:\Git\brewtarget\src\measurement/SucroseConversion.h(35,24): message : see declaration of 'Measurement::sucroseConversions_size'
4>D:\Git\brewtarget\src\measurement\SucroseConversion.cpp(852,31): error C2737: 'Measurement::sucroseConversions_size': constexpr object must be initialized
The text was updated successfully, but these errors were encountered: