From 6d4854f12c4a72cfd33fdc7dff74ad7d2c600a41 Mon Sep 17 00:00:00 2001 From: escherstair Date: Wed, 18 Sep 2019 08:15:50 +0200 Subject: [PATCH] init variable in initializer list --- code/FBX/FBXExportProperty.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/FBX/FBXExportProperty.cpp b/code/FBX/FBXExportProperty.cpp index f8593e629..f2a63b72b 100644 --- a/code/FBX/FBXExportProperty.cpp +++ b/code/FBX/FBXExportProperty.cpp @@ -59,11 +59,7 @@ namespace FBX { FBXExportProperty::FBXExportProperty(bool v) : type('C') -, data(1) { - data = { - uint8_t(v) - }; -} +, data(1, uint8_t(v)) {} FBXExportProperty::FBXExportProperty(int16_t v) : type('Y')