remove warnings clang generates
This commit is contained in:
@@ -39,7 +39,7 @@ template <typename T> struct Menu : public Window
|
|||||||
{
|
{
|
||||||
struct Item
|
struct Item
|
||||||
{
|
{
|
||||||
friend class Menu<T>;
|
friend struct Menu<T>;
|
||||||
|
|
||||||
Item()
|
Item()
|
||||||
: m_is_bold(false), m_is_selected(false), m_is_inactive(false), m_is_separator(false) { }
|
: m_is_bold(false), m_is_selected(false), m_is_inactive(false), m_is_separator(false) { }
|
||||||
@@ -77,7 +77,7 @@ template <typename T> struct Menu : public Window
|
|||||||
template <typename ValueT, typename BaseIterator> class ItemIterator
|
template <typename ValueT, typename BaseIterator> class ItemIterator
|
||||||
: public std::iterator<std::random_access_iterator_tag, ValueT>
|
: public std::iterator<std::random_access_iterator_tag, ValueT>
|
||||||
{
|
{
|
||||||
friend class Menu<T>;
|
friend struct Menu<T>;
|
||||||
|
|
||||||
BaseIterator m_it;
|
BaseIterator m_it;
|
||||||
explicit ItemIterator(BaseIterator it) : m_it(it) { }
|
explicit ItemIterator(BaseIterator it) : m_it(it) { }
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ struct Song
|
|||||||
typedef std::string (Song::*GetFunction)(unsigned) const;
|
typedef std::string (Song::*GetFunction)(unsigned) const;
|
||||||
|
|
||||||
Song() { }
|
Song() { }
|
||||||
|
virtual ~Song() { }
|
||||||
|
|
||||||
Song(mpd_song *s);
|
Song(mpd_song *s);
|
||||||
|
|
||||||
virtual std::string getURI(unsigned idx = 0) const;
|
virtual std::string getURI(unsigned idx = 0) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user