+ make geometry noncopyable

+ make ctor explicit
This commit is contained in:
Artem Pavlenko 2011-12-06 16:25:30 +00:00
parent cc60b74921
commit 9f27706e81

View file

@ -41,7 +41,7 @@ enum eGeomType {
};
template <typename T, template <typename> class Container=vertex_vector>
class geometry
class geometry : private::noncopyable
{
public:
typedef T coord_type;
@ -54,7 +54,7 @@ private:
mutable unsigned itr_;
public:
geometry(eGeomType type)
explicit geometry(eGeomType type)
: type_(type),
itr_(0)
{}