Commit a6c77475 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent e058294f
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include <iostream> #include <string>
#include <vector>
#include "WModuleContainer.h" #include "WModuleContainer.h"
#include "WModule.h" #include "WModule.h"
......
...@@ -24,7 +24,10 @@ ...@@ -24,7 +24,10 @@
#ifndef WBATCHLOADER_H #ifndef WBATCHLOADER_H
#define WBATCHLOADER_H #define WBATCHLOADER_H
#include <iostream>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include "../common/WThreadedRunner.h" #include "../common/WThreadedRunner.h"
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <list> #include <list>
#include <set> #include <set>
#include <vector>
#include <string> #include <string>
#include <sstream> #include <sstream>
...@@ -148,7 +149,8 @@ void WModuleContainer::stop() ...@@ -148,7 +149,8 @@ void WModuleContainer::stop()
// read lock // read lock
boost::shared_lock<boost::shared_mutex> slock = boost::shared_lock<boost::shared_mutex>( m_pendingThreadsLock ); boost::shared_lock<boost::shared_mutex> slock = boost::shared_lock<boost::shared_mutex>( m_pendingThreadsLock );
for( std::set< boost::shared_ptr< WThreadedRunner > >::iterator listIter = m_pendingThreads.begin(); listIter != m_pendingThreads.end(); ++listIter ) for( std::set< boost::shared_ptr< WThreadedRunner > >::iterator listIter = m_pendingThreads.begin(); listIter != m_pendingThreads.end();
++listIter )
{ {
( *listIter )->wait( true ); ( *listIter )->wait( true );
} }
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <list> #include <list>
#include <set> #include <set>
#include <vector>
#include <string> #include <string>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment