Skip to content

Commit

Permalink
Remove unneeded ranges header
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed Mar 19, 2024
1 parent e926afc commit fe60b0a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/ranges/trange.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <QList>
#include <QUuid>
#include <functional>
#include <ranges>
#include <tlogger.h>

class LIBCONTEMPORARY_EXPORT tRangeException : public tException {
Expand Down Expand Up @@ -61,9 +60,9 @@ template<typename T> class tRangeBacking {

template<typename T, typename R>
concept HasCastFunctions = requires(T t) {
{ t.template staticCast<R>() } -> std::same_as<QSharedPointer<R>>;
{ t.template objectCast<R>() } -> std::same_as<QSharedPointer<R>>;
};
{ t.template staticCast<R>() } -> std::same_as<QSharedPointer<R>>;
{ t.template objectCast<R>() } -> std::same_as<QSharedPointer<R>>;
};

template<typename T> class tRange {
public:
Expand Down

0 comments on commit fe60b0a

Please sign in to comment.