mirror of https://github.com/CGAL/cgal
use using instead of typedef (and use base cstr)
This commit is contained in:
parent
7579026503
commit
69aa7b878b
|
|
@ -20,7 +20,9 @@ template <typename Base>
|
|||
class Base_with_time_stamp : public Base {
|
||||
std::size_t time_stamp_ = -1;
|
||||
public:
|
||||
typedef CGAL::Tag_true Has_timestamp;
|
||||
using Base::Base;
|
||||
|
||||
using Has_timestamp = CGAL::Tag_true;
|
||||
|
||||
std::size_t time_stamp() const {
|
||||
return time_stamp_;
|
||||
|
|
|
|||
Loading…
Reference in New Issue