From: Gunnar Beutner Date: Mon, 9 Feb 2015 10:03:19 +0000 (+0100) Subject: Build fix for Windows X-Git-Tag: v2.3.0~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=279293331f105e4f45ce7cb641e041d509c18fda;p=icinga2 Build fix for Windows refs #7564 --- diff --git a/tools/mkclass/classcompiler.cpp b/tools/mkclass/classcompiler.cpp index 901a3835e..f1b180d62 100644 --- a/tools/mkclass/classcompiler.cpp +++ b/tools/mkclass/classcompiler.cpp @@ -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;