reorder includes to cut compile time

This commit is contained in:
Dennis Luxen
2013-12-08 19:38:13 +01:00
parent 015b29e8a3
commit 19285d61ab
6 changed files with 78 additions and 26 deletions
+6 -1
View File
@@ -29,6 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define SERVERFACTORY_H_
#include "Server.h"
#include "../Util/OpenMPWrapper.h"
#include "../Util/SimpleLogger.h"
#include "../Util/StringUtil.h"
@@ -45,7 +46,11 @@ struct ServerFactory : boost::noncopyable {
std::stringstream port_stream;
port_stream << ip_port;
return new Server( ip_address, port_stream.str(), std::min( omp_get_num_procs(), threads) );
return new Server(
ip_address,
port_stream.str(),
std::min( omp_get_num_procs(), threads)
);
}
};