From 70aafa478d330543ccbe44dd9462d1ddc2fa2f84 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 19 Mar 2015 11:38:15 +0100 Subject: [PATCH] avoid copying of private struct. Signed-off-by: Kim Kulling --- code/OpenGEXImporter.cpp | 5 +++++ code/OpenGEXImporter.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/code/OpenGEXImporter.cpp b/code/OpenGEXImporter.cpp index c495773a9..fcb15e587 100644 --- a/code/OpenGEXImporter.cpp +++ b/code/OpenGEXImporter.cpp @@ -170,6 +170,11 @@ OpenGEXImporter::RefInfo::RefInfo( aiNode *node, Type type, std::vector m_Names; RefInfo( aiNode *node, Type type, std::vector &names ); + ~RefInfo(); + + private: + RefInfo( const RefInfo & ); + RefInfo &operator = ( const RefInfo & ); }; std::vector m_meshCache;