delete doesn't need inline

This commit is contained in:
Mm2PL 2024-09-02 20:42:50 +02:00
parent de0c376b05
commit 84976211b3
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -15,6 +15,6 @@ inline void drop(T &var)
* Helps you avoid accidentally dropping a pointer not the object behind it. * Helps you avoid accidentally dropping a pointer not the object behind it.
*/ */
template <typename T> template <typename T>
inline void drop(T * /*var*/) = delete; void drop(T * /*var*/) = delete;
} // namespace chatterino } // namespace chatterino