From 01a50359209a8ec82d73d8b8b3699c56d8a36855 Mon Sep 17 00:00:00 2001 From: wise86Android Date: Sat, 16 Jan 2016 14:22:41 +0100 Subject: [PATCH] remove initialization warnings --- code/StepExporter.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/code/StepExporter.cpp b/code/StepExporter.cpp index 4cc515ca0..90391aeff 100644 --- a/code/StepExporter.cpp +++ b/code/StepExporter.cpp @@ -137,10 +137,12 @@ namespace { // ------------------------------------------------------------------------------------------------ // Constructor for a specific scene to export -StepExporter::StepExporter(const aiScene* pScene, IOSystem* pIOSystem, const std::string& path, const std::string& file, const ExportProperties* pProperties) : mProperties(pProperties), mIOSystem(pIOSystem), mFile(file), mPath(path), mScene(pScene), endstr(";\n") -{ - CollectTrafos(pScene->mRootNode, trafos); - CollectMeshes(pScene->mRootNode, meshes); +StepExporter::StepExporter(const aiScene* pScene, IOSystem* pIOSystem, const std::string& path, + const std::string& file, const ExportProperties* pProperties): + mProperties(pProperties),mIOSystem(pIOSystem),mFile(file), mPath(path), + mScene(pScene), endstr(";\n") { + CollectTrafos(pScene->mRootNode, trafos); + CollectMeshes(pScene->mRootNode, meshes); // make sure that all formatting happens using the standard, C locale and not the user's current locale mOutput.imbue( std::locale("C") );