Fix the class vs struct warning

develop
Pauli 2018-07-10 18:23:59 +03:00
parent 5eea7198a9
commit 7d92d3f48f
1 changed files with 2 additions and 1 deletions

@ -98,7 +98,8 @@ static bool parseKeySpec(std::string keyspec, int *psym, int *pmod, std::string
size_t loadScriptFiles(Core* core, color_ostream& out, const vector<std::string>& prefix, const std::string& folder); size_t loadScriptFiles(Core* core, color_ostream& out, const vector<std::string>& prefix, const std::string& folder);
namespace DFHack { namespace DFHack {
struct MainThread { class MainThread {
public:
//! MainThread::suspend keeps the main DF thread suspended from Core::Init to //! MainThread::suspend keeps the main DF thread suspended from Core::Init to
//! thread exit. //! thread exit.
static CoreSuspenderBase& suspend() { static CoreSuspenderBase& suspend() {