From 1770ce1cf2e670e87afeeb32491c479a101d7682 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Tue, 6 Aug 2019 10:38:19 +0200 Subject: [PATCH] core: remove throw from function declarations This is for making the code compliant with new policy in C++17. --- include/hpp/fcl/mesh_loader/assimp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hpp/fcl/mesh_loader/assimp.h b/include/hpp/fcl/mesh_loader/assimp.h index c769d678..2b3078d4 100644 --- a/include/hpp/fcl/mesh_loader/assimp.h +++ b/include/hpp/fcl/mesh_loader/assimp.h @@ -95,7 +95,7 @@ template<class BoundingVolume> inline void meshFromAssimpScene(const std::string & name, const fcl::Vec3f & scale, const aiScene* scene, - const boost::shared_ptr < BVHModel<BoundingVolume> > & mesh) throw (std::invalid_argument) + const boost::shared_ptr < BVHModel<BoundingVolume> > & mesh) { TriangleAndVertices tv; @@ -128,7 +128,7 @@ inline void meshFromAssimpScene(const std::string & name, template<class BoundingVolume> inline void loadPolyhedronFromResource (const std::string & resource_path, const fcl::Vec3f & scale, - const boost::shared_ptr < BVHModel<BoundingVolume> > & polyhedron) throw (std::invalid_argument) + const boost::shared_ptr < BVHModel<BoundingVolume> > & polyhedron) { Assimp::Importer importer; // set list of ignored parameters (parameters used for rendering) -- GitLab