diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-02-01 09:45:45 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-02-01 09:46:36 -0300 |
commit | 2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc (patch) | |
tree | 0a212bf8786c53ec7b054757071dc2430667d3a1 /core/pair.h | |
parent | 36b6ba8e94d9afcb06aa2579bf627651f7ebfea0 (diff) | |
download | redot-engine-2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc.tar.gz |
Lot of work in new importer, importing textures now works.
Diffstat (limited to 'core/pair.h')
-rw-r--r-- | core/pair.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/pair.h b/core/pair.h index d75cbed642..174ffb3883 100644 --- a/core/pair.h +++ b/core/pair.h @@ -39,4 +39,13 @@ struct Pair { Pair( F p_first, S p_second) { first=p_first; second=p_second; } }; +template<class F,class S> +struct PairSort { + + bool operator()(const Pair<F,S>& A, const Pair<F,S>& B) const { + return A.first < B.first; + } +}; + + #endif // PAIR_H |