mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
16 lines
284 B
C++
16 lines
284 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
namespace chatterino {
|
|
|
|
template <typename T>
|
|
struct SharedPtrElementLess {
|
|
bool operator()(const std::shared_ptr<T> &a, const std::shared_ptr<T> &b) const
|
|
{
|
|
return a->operator<(*b);
|
|
}
|
|
};
|
|
|
|
} // namespace chatterino
|