untangling includes to cut down compile time

This commit is contained in:
Dennis Luxen 2013-12-13 18:49:05 -05:00
parent 25b352aeab
commit 758027e2e0
4 changed files with 5 additions and 16 deletions

View File

@ -25,10 +25,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "EdgeBasedGraphFactory.h"
#include "EdgeBasedGraphFactory.h"
#include "../Util/ComputeAngle.h"
#include <boost/assert.hpp>
#include <boost/foreach.hpp>
#include <boost/make_shared.hpp>
//TODO: CompressionWorker
//TODO: EdgeBasedEdgeGenerator

View File

@ -46,9 +46,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "GeometryCompressor.h"
#include <boost/assert.hpp>
#include <boost/foreach.hpp>
#include <boost/make_shared.hpp>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/unordered_map.hpp>

View File

@ -37,7 +37,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "Util/UUID.h"
#ifdef __linux__
#include "Util/LinuxStackTrace.h"
#include <sys/mman.h>
#endif
@ -76,7 +75,6 @@ int main (int argc, const char * argv[]) {
SimpleLogger().Write(logWARNING) <<
"Process " << argv[0] << " could not be locked to RAM";
}
installCrashHandler(argv[0]);
#endif
bool use_shared_memory = false;
std::string ip_address;

View File

@ -28,20 +28,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef TYPEDEFS_H_
#define TYPEDEFS_H_
#include <climits>
#include <cstdlib>
// To fix long and long long woes
#include <boost/integer.hpp>
#include <boost/integer_traits.hpp>
#ifdef __APPLE__
#include <signal.h>
#endif
#include <iostream>
#include <ostream>
// Necessary workaround for Windows as VS doesn't implement C99
#ifdef _MSC_VER
#ifndef M_PI