Skip to content

Commit

Permalink
fix warning on linux/gcc about init order
Browse files Browse the repository at this point in the history
  • Loading branch information
RJ committed Apr 28, 2009
1 parent 46c969c commit 71a5d24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resolvers/boffin/boffin.h
Expand Up @@ -41,8 +41,9 @@ class boffin : public playdar::ResolverPlugin<boffin>
void queue_work(boost::function< void() > work);
boost::function< void() > get_work();

volatile bool m_thread_stop;
boost::thread* m_thread;
volatile bool m_thread_stop;

boost::mutex m_queue_mutex;
boost::condition_variable m_queue_wake;
std::queue< boost::function< void() > > m_queue;
Expand Down

0 comments on commit 71a5d24

Please sign in to comment.