Windows build fix.

This commit is contained in:
Gunnar Beutner 2014-03-14 13:23:04 +01:00
parent 3556f9afde
commit 737675387d
1 changed files with 4 additions and 2 deletions

View File

@ -25,8 +25,10 @@ using namespace icinga;
void Process::Run(const boost::function<void (const ProcessResult&)>& callback)
{
// TODO: implement
ProcessResult;
callback();
ProcessResult pr;
if (callback)
callback(pr);
}
#endif /* _WIN32 */