init variable in initializer list
parent
116dcce0ba
commit
6d4854f12c
|
@ -59,11 +59,7 @@ namespace FBX {
|
||||||
|
|
||||||
FBXExportProperty::FBXExportProperty(bool v)
|
FBXExportProperty::FBXExportProperty(bool v)
|
||||||
: type('C')
|
: type('C')
|
||||||
, data(1) {
|
, data(1, uint8_t(v)) {}
|
||||||
data = {
|
|
||||||
uint8_t(v)
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
FBXExportProperty::FBXExportProperty(int16_t v)
|
FBXExportProperty::FBXExportProperty(int16_t v)
|
||||||
: type('Y')
|
: type('Y')
|
||||||
|
|
Loading…
Reference in New Issue