Add defualt-constructor to struct price_t.
This commit is contained in:
parent
1467a69487
commit
f848baec83
@ -32,6 +32,11 @@ struct CALCULATE_LIBRARY_API price_t {
|
|||||||
double brutto;
|
double brutto;
|
||||||
double vat_percentage;
|
double vat_percentage;
|
||||||
double vat;
|
double vat;
|
||||||
|
|
||||||
|
explicit price_t() {
|
||||||
|
units = 0;
|
||||||
|
netto = brutto = vat_percentage = vat = 0.0;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class PERMIT_TYPE : quint8 {
|
enum class PERMIT_TYPE : quint8 {
|
||||||
|
Loading…
Reference in New Issue
Block a user