Skip to content

Commit

Permalink
Fix getClassIDs() in pluginimpl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
rhcad committed Mar 13, 2012
1 parent 2dc5803 commit 29fee92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion interface/core/module/pluginimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#ifdef X3_CORE_PORTABILITY_H
#include "../portability/portimpl.h"
#endif
#ifdef X3_LOG_DEBUGR_H_
#include <log/DebugR.cpp>
#endif

BEGIN_NAMESPACE_X3

Expand Down Expand Up @@ -52,7 +55,7 @@ static const char** getClassIDs(const char** clsids, int count)
{
for (const ClassEntry* cls = *arr; cls->creator; cls++, i++)
{
clsids[i++] = cls->clsid;
clsids[i] = cls->clsid;
}
}
clsids[i] = NULL;
Expand Down
2 changes: 1 addition & 1 deletion interface/core/utilfunc/safecall.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! \file SafeCall.h
//! \file safecall.h
//! \brief Define functions to call pointer safely.

#ifndef __APPCORE_SAFECALL_H
Expand Down

0 comments on commit 29fee92

Please sign in to comment.