Skip to content

Commit

Permalink
delete doesn't need inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Mm2PL committed Sep 2, 2024
1 parent de0c376 commit 8497621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/drop.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ inline void drop(T &var)
* Helps you avoid accidentally dropping a pointer not the object behind it.
*/
template <typename T>
inline void drop(T * /*var*/) = delete;
void drop(T * /*var*/) = delete;

} // namespace chatterino

0 comments on commit 8497621

Please sign in to comment.