mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Maybe fix the Linux compile errors
This commit is contained in:
parent
12ee215873
commit
93f850df75
|
@ -24,7 +24,7 @@ public:
|
|||
void clear();
|
||||
|
||||
void setCursor(const T& select);
|
||||
void setCursor(typename const std::vector<Entry>::const_iterator& it);
|
||||
void setCursor(typename std::vector<Entry>::const_iterator& it);
|
||||
|
||||
inline const T& getSelected() const { return mEntries.at(mCursor).object; }
|
||||
inline const std::vector<Entry>& getList() const { return mEntries; }
|
||||
|
@ -173,7 +173,7 @@ void ImageGridComponent<T>::setCursor(const T& obj)
|
|||
}
|
||||
|
||||
template<typename T>
|
||||
void ImageGridComponent<T>::setCursor(typename const std::vector<Entry>::const_iterator& it)
|
||||
void ImageGridComponent<T>::setCursor(typename std::vector<Entry>::const_iterator& it)
|
||||
{
|
||||
assert(it != mEntries.end());
|
||||
mCursor = it - mEntries.begin();
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
inline const std::vector<ListRow>& getList() const { return mRowVector; }
|
||||
|
||||
void setCursor(const T& select);
|
||||
void setCursor(typename const std::vector<ListRow>::const_iterator& it);
|
||||
void setCursor(typename std::vector<ListRow>::const_iterator& it);
|
||||
|
||||
void stopScrolling();
|
||||
inline bool isScrolling() const { return mScrollDir != 0; }
|
||||
|
@ -378,7 +378,7 @@ void TextListComponent<T>::setCursor(const T& obj)
|
|||
|
||||
|
||||
template <typename T>
|
||||
void TextListComponent<T>::setCursor(typename const std::vector<ListRow>::const_iterator& it)
|
||||
void TextListComponent<T>::setCursor(typename std::vector<ListRow>::const_iterator& it)
|
||||
{
|
||||
assert(it != mRowVector.end());
|
||||
mCursor = it - mRowVector.begin();
|
||||
|
|
Loading…
Reference in a new issue