Rename make{ Counted => _intrusive }

This commit is contained in:
Dominik Charousset 2019-10-30 20:27:57 +01:00
parent 21b6159e70
commit 054a4f4612
2 changed files with 7 additions and 7 deletions

View file

@ -127,7 +127,7 @@ private:
// Convenience function for creating intrusive pointers.
template <class T, class... Ts>
IntrusivePtr<T> makeCounted(Ts&&... args)
IntrusivePtr<T> make_intrusive(Ts&&... args)
{
// Assumes that objects start with a reference count of 1!
return {new T(std::forward<Ts>(args)...), false};