From 8b89edecfad56efb49f00920e7909564c9b08b0a Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Sat, 7 May 2011 00:23:55 +0000 Subject: [PATCH] # fix -noboost git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@980 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/STEPFile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/STEPFile.h b/code/STEPFile.h index 83c042310..e7e5a89d1 100644 --- a/code/STEPFile.h +++ b/code/STEPFile.h @@ -692,8 +692,9 @@ namespace STEP { typedef typename T::Out OutScalar; typedef ListOf Out; - BOOST_STATIC_ASSERT(min_cnt <= max_cnt || !max_cnt); + ListOf() { + BOOST_STATIC_ASSERT(min_cnt <= max_cnt || !max_cnt); } }; @@ -915,7 +916,7 @@ namespace STEP { return splitter; } - void InternInsert(boost::shared_ptr lz) { + void InternInsert(boost::shared_ptr lz) { objects[lz->id] = lz; objects_bytype.insert(std::make_pair(lz->type,lz.get())); }