Skip to content
Snippets Groups Projects
Commit 04738a50 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix non-virtual dtor warnings

parent 0776a803
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,8 @@ template <class T> ...@@ -62,6 +62,8 @@ template <class T>
class LLOctreeTraveler class LLOctreeTraveler
{ {
public: public:
virtual ~LLOctreeTraveler() = default;
virtual void traverse(const LLOctreeNode<T>* node); virtual void traverse(const LLOctreeNode<T>* node);
virtual void visit(const LLOctreeNode<T>* branch) = 0; virtual void visit(const LLOctreeNode<T>* branch) = 0;
}; };
......
...@@ -42,6 +42,8 @@ class LLBadgeHolder ...@@ -42,6 +42,8 @@ class LLBadgeHolder
{ {
} }
virtual ~LLBadgeHolder() = default;
void setAcceptsBadge(bool acceptsBadge) { mAcceptsBadge = acceptsBadge; } void setAcceptsBadge(bool acceptsBadge) { mAcceptsBadge = acceptsBadge; }
bool acceptsBadge() const { return mAcceptsBadge; } bool acceptsBadge() const { return mAcceptsBadge; }
......
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
class LLHelp class LLHelp
{ {
public: public:
virtual ~LLHelp() = default;
virtual void showTopic(const std::string &topic) = 0; virtual void showTopic(const std::string &topic) = 0;
virtual std::string getURL(const std::string &topic) = 0; virtual std::string getURL(const std::string &topic) = 0;
// return default (fallback) topic name suitable for showTopic() // return default (fallback) topic name suitable for showTopic()
......
...@@ -864,6 +864,8 @@ class LLNotificationChannel : ...@@ -864,6 +864,8 @@ class LLNotificationChannel :
class LLNotificationsInterface class LLNotificationsInterface
{ {
public: public:
virtual ~LLNotificationsInterface() = default;
virtual LLNotificationPtr add(const std::string& name, virtual LLNotificationPtr add(const std::string& name,
const LLSD& substitutions, const LLSD& substitutions,
const LLSD& payload, const LLSD& payload,
......
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
class LLSpellCheckMenuHandler class LLSpellCheckMenuHandler
{ {
public: public:
virtual ~LLSpellCheckMenuHandler() = default;
virtual bool getSpellCheck() const { return false; } virtual bool getSpellCheck() const { return false; }
virtual const std::string& getSuggestion(U32 index) const { return LLStringUtil::null; } virtual const std::string& getSuggestion(U32 index) const { return LLStringUtil::null; }
......
...@@ -78,6 +78,8 @@ class LLTransientFloater ...@@ -78,6 +78,8 @@ class LLTransientFloater
*/ */
void init(LLFloater* thiz); void init(LLFloater* thiz);
public: public:
virtual ~LLTransientFloater() = default;
virtual LLTransientFloaterMgr::ETransientGroup getGroup() = 0; virtual LLTransientFloaterMgr::ETransientGroup getGroup() = 0;
bool isTransientDocked() { return mFloater->isDocked(); }; bool isTransientDocked() { return mFloater->isDocked(); };
void setTransientVisible(BOOL visible) {mFloater->setVisible(visible); } void setTransientVisible(BOOL visible) {mFloater->setVisible(visible); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment