mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
delete doesn't need inline
This commit is contained in:
parent
de0c376b05
commit
84976211b3
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue