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