lowercase filename, pragma once and property specializations corrected

This commit is contained in:
Nicolas Gallego-Ortiz
2019-08-15 10:47:37 +02:00
parent 6bb9f668b8
commit b85b66d679
3 changed files with 4 additions and 7 deletions

View File

@@ -396,8 +396,8 @@ public:
public:
explicit PropertyT(const std::string& _name = "<unknown>")
: BaseProperty(_name)
explicit PropertyT(const std::string& _name = "<unknown>", const std::string& _internal_type_name="" )
: BaseProperty(_name, _internal_type_name)
{ }
public: // inherited from BaseProperty

View File

@@ -45,7 +45,7 @@
#define OPENMESH_PROPERTYCONTAINER
#include <OpenMesh/Core/Utils/Property.hh>
#include <OpenMesh/Core/Utils/TypeName.hh>
#include <OpenMesh/Core/Utils/typename.hh>
//-----------------------------------------------------------------------------
namespace OpenMesh

View File

@@ -1,5 +1,4 @@
#ifndef TYPENAME_HH
#define TYPENAME_HH
#pragma once
/// Get an internal name for a type
/// Important, this is depends on compilers and versions, do NOT se in file formats!
@@ -25,5 +24,3 @@ std::string get_type_name()
}
}
#endif // TYPENAME_HH