Skip to content
Snippets Groups Projects
Commit 37e57f6d authored by Jan Trávníček's avatar Jan Trávníček
Browse files

simplify objects base class

parent 21a26792
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,10 @@ public:
}
 
virtual int selfTypeId() const = 0;
virtual ~base_base() noexcept {
}
};
 
template<int ID, typename... Types>
......@@ -41,10 +45,6 @@ public:
virtual bool operator<(const T & other) const {
return this->selfTypeId() < typeId(other);
}
virtual ~base_helper() noexcept {
}
};
 
template<int ID, typename T, typename... Types>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment