reorder includes to cut compile time
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user