]> git.tdb.fi Git - builder.git/blobdiff - source/datasourcefile.h
Don't complain about missing executable if a tool has no command
[builder.git] / source / datasourcefile.h
index 23c254366b34ee116760585e1794298c5b99cf47..7518423f5e6ca2769b6e8eece89b9851aa118f0d 100644 (file)
@@ -6,10 +6,10 @@
 class DataSourceFile: public SourceFile
 {
 public:
-       DataSourceFile(Builder &, const Msp::FS::Path &);
-       DataSourceFile(Builder &, const Component &, const Msp::FS::Path &);
+       DataSourceFile(Builder &b, const Msp::FS::Path &p): SourceFile(b, p) { }
+       DataSourceFile(Builder &b, const Component &c, const Msp::FS::Path &p): SourceFile(b, c, p) { }
 
-       virtual const char *get_type() const { return "DataSourceFile"; }
+       const char *get_type() const override { return "DataSourceFile"; }
 };
 
 #endif