summaryrefslogtreecommitdiffstats
path: root/Source/cmOSXBundleGenerator.h
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2012-07-18 10:17:39 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-18 10:17:39 (GMT)
commit44ba4cfdb6471506db37634b032cf4fa3784f4f9 (patch)
treec9230caf53978d4623932957c5d198645718e4ed /Source/cmOSXBundleGenerator.h
parent7751966297e3b68b6c9904300f96bb57882af11a (diff)
downloadCMake-44ba4cfdb6471506db37634b032cf4fa3784f4f9.zip
CMake-44ba4cfdb6471506db37634b032cf4fa3784f4f9.tar.gz
CMake-44ba4cfdb6471506db37634b032cf4fa3784f4f9.tar.bz2
Ninja: remove warnings
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