diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /libs/evoral/evoral/Range.hpp | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'libs/evoral/evoral/Range.hpp')
-rw-r--r-- | libs/evoral/evoral/Range.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/evoral/evoral/Range.hpp b/libs/evoral/evoral/Range.hpp index 230b289747..9d47faf30d 100644 --- a/libs/evoral/evoral/Range.hpp +++ b/libs/evoral/evoral/Range.hpp @@ -140,7 +140,7 @@ struct /*LIBEVORAL_API*/ Range { bool empty() const { return from == to; } }; -template<typename T> +template<typename T> bool operator== (Range<T> a, Range<T> b) { return a.from == b.from && a.to == b.to; } @@ -149,7 +149,7 @@ template<typename T> class /*LIBEVORAL_API*/ RangeList { public: RangeList () : _dirty (false) {} - + typedef std::list<Range<T> > List; List const & get () { @@ -171,7 +171,7 @@ public: return; } - restart: + restart: for (typename List::iterator i = _list.begin(); i != _list.end(); ++i) { for (typename List::iterator j = _list.begin(); j != _list.end(); ++j) { @@ -192,7 +192,7 @@ public: } private: - + List _list; bool _dirty; }; @@ -225,7 +225,7 @@ RangeList<T> subtract (Range<T> range, RangeList<T> sub) /* The basic idea here is to keep a list of the result ranges, and subtract the bits of `sub' from them one by one. */ - + for (typename RangeList<T>::List::const_iterator i = s.begin(); i != s.end(); ++i) { /* Here's where we'll put the new current result after subtracting *i from it */ |