]> granicus.if.org Git - icinga2/commitdiff
Build fix for Windows
authorGunnar Beutner <gunnar@beutner.name>
Mon, 9 Feb 2015 10:03:19 +0000 (11:03 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 9 Feb 2015 10:04:28 +0000 (11:04 +0100)
refs #7564

tools/mkclass/classcompiler.cpp

index 901a3835e11c24709055a44477d5f676c5217d2e..f1b180d62a36777397b2534da2c3f0a8da792c4d 100644 (file)
@@ -483,7 +483,7 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
                                prot = "public";
 
                        std::cout << prot << ":" << std::endl
-                                         << "\t" << "void Set" << it->GetFriendlyName() << "(";
+                                         << "\t" << "virtual void Set" << it->GetFriendlyName() << "(";
 
                        if (it->Type == "bool" || it->Type == "double" || it->Type == "int")
                                std::cout << it->Type;