# fix -noboost

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@980 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2011-05-07 00:23:55 +00:00
parent 1400ae79e7
commit 8b89edecfa
1 changed files with 3 additions and 2 deletions

View File

@ -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<LazyObject> lz) {
void InternInsert(boost::shared_ptr<const LazyObject> lz) {
objects[lz->id] = lz;
objects_bytype.insert(std::make_pair(lz->type,lz.get()));
}