Ninja: remove warnings

This commit is contained in:
Peter Kümmel
2012-07-18 12:17:39 +02:00
parent 7751966297
commit 44ba4cfdb6
5 changed files with 32 additions and 36 deletions
+7 -6
View File
@@ -116,12 +116,13 @@ protected:
void EnsureParentDirectoryExists(const std::string& path);
// write rules for Mac OS X Application Bundle content.
class MacOSXContentGeneratorType
: public cmOSXBundleGenerator::MacOSXContentGeneratorType
struct MacOSXContentGeneratorType :
cmOSXBundleGenerator::MacOSXContentGeneratorType
{
public:
MacOSXContentGeneratorType(cmNinjaTargetGenerator* Generator);
virtual void operator()(cmSourceFile& source, const char* pkgloc);
MacOSXContentGeneratorType(cmNinjaTargetGenerator* g) :
Generator(g) {}
void operator()(cmSourceFile& source, const char* pkgloc);
private:
cmNinjaTargetGenerator* Generator;
@@ -129,7 +130,7 @@ protected:
protected:
MacOSXContentGeneratorType MacOSXContentGenerator;
MacOSXContentGeneratorType* MacOSXContentGenerator;
// Properly initialized by sub-classes.
cmOSXBundleGenerator* OSXBundleGenerator;
std::set<cmStdString> MacContentFolders;