Fix some compiling problems on OSX

and enable osx builds on travis
This commit is contained in:
Danila Malyutin 2015-08-17 18:14:29 +03:00 committed by Nekotekina
parent e8088d1216
commit 009370f73c
6 changed files with 79 additions and 38 deletions

View file

@ -49,7 +49,7 @@ public:
thread_t(std::function<std::string()> name, std::function<void()> func);
// destructor, joins automatically (questionable, don't rely on this functionality in derived destructors)
virtual ~thread_t() noexcept(false);
virtual ~thread_t() /*noexcept(false) compile error on osx*/;
thread_t(const thread_t&) = delete;