Commit 272441fc authored by Cinder's avatar Cinder
Browse files

Polymorphic classes need non-virtual dtor

parent 44a30fb3
......@@ -76,6 +76,7 @@ class LLMaterialGetFunctor
{
public:
LLMaterialGetFunctor() {}
virtual ~LLMaterialGetFunctor() = default;
virtual DataType get(LLMaterialPtr& material) { return (material->*(MaterialGetFunc)); }
};
......@@ -86,6 +87,7 @@ class LLTEGetFunctor
{
public:
LLTEGetFunctor() {}
virtual ~LLTEGetFunctor() = default;
virtual DataType get(LLTextureEntry* entry) { return (entry*(TEGetFunc)); }
};
......
......@@ -42,8 +42,9 @@ public:
class Client
{
public:
// An error occurred while checking for an update.
virtual ~Client() = default;
// An error occurred while checking for an update.
virtual void error(std::string const & message) = 0;
// A successful response was received from the viewer version manager
......
......@@ -77,6 +77,7 @@ private:
//
class LLUpdateDownloader::Client {
public:
virtual ~Client() = default;
// The download has completed successfully.
// data is a map containing the following items:
// url - source (remote) location
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment