mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibCore: is<CObject>(object) should not default to true
Otherwise we'll lie about anything that doesn't implement is<T>() and think it's indeed a T.
This commit is contained in:
parent
583e9ad372
commit
6ab9dc4ff4
1 changed files with 0 additions and 3 deletions
|
@ -151,9 +151,6 @@ private:
|
|||
template<typename T>
|
||||
inline bool is(const CObject&) { return false; }
|
||||
|
||||
template<>
|
||||
inline bool is<CObject>(const CObject&) { return true; }
|
||||
|
||||
template<typename T>
|
||||
inline T& to(CObject& object)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue