summaryrefslogtreecommitdiffstats
path: root/Source/cmOSXBundleGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmOSXBundleGenerator.h')
-rw-r--r--Source/cmOSXBundleGenerator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmOSXBundleGenerator.h b/Source/cmOSXBundleGenerator.h
index 2ed9e91..01e3cbe 100644
--- a/Source/cmOSXBundleGenerator.h
+++ b/Source/cmOSXBundleGenerator.h
@@ -35,9 +35,9 @@ public:
void CreateFramework(std::string const& targetName);
void CreateCFBundle(std::string& targetName, std::string& outpath);
- class MacOSXContentGeneratorType
+ struct MacOSXContentGeneratorType
{
- public:
+ virtual ~MacOSXContentGeneratorType() {}
virtual void operator()(cmSourceFile& source, const char* pkgloc) = 0;
};
@@ -67,4 +67,5 @@ private:
std::set<cmStdString>* MacContentFolders;
};
+
#endif