mirror of https://github.com/minetest/minetest.git
Mark ModelParser constructors noexcept
This commit is contained in:
parent
bd07af3ad4
commit
84a556a723
|
@ -112,13 +112,13 @@ IAnimatedMesh* CGLTFMeshFileLoader::createMesh(io::IReadFile* file)
|
|||
}
|
||||
|
||||
CGLTFMeshFileLoader::ModelParser::ModelParser(
|
||||
const tinygltf::Model& model)
|
||||
const tinygltf::Model& model) noexcept
|
||||
: m_model(model)
|
||||
{
|
||||
}
|
||||
|
||||
CGLTFMeshFileLoader::ModelParser::ModelParser(
|
||||
const tinygltf::Model&& model)
|
||||
const tinygltf::Model&& model) noexcept
|
||||
: m_model(model)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -128,4 +128,3 @@ private:
|
|||
} // namespace irr
|
||||
|
||||
#endif // __C_GLTF_MESH_FILE_LOADER_INCLUDED__
|
||||
|
||||
|
|
Loading…
Reference in New Issue