diff --git a/RTCP/CNProc/src/LocationInfo.cc b/RTCP/CNProc/src/LocationInfo.cc index 67289419167d9471d6775da129e0a75c6c968e36..5de3d61e9d3078a0317aecbdd158e098594dca35 100644 --- a/RTCP/CNProc/src/LocationInfo.cc +++ b/RTCP/CNProc/src/LocationInfo.cc @@ -93,6 +93,11 @@ void LocationInfo::print() const #else +unsigned LocationInfo::remapOnTree(unsigned pset, unsigned core) const +{ + return core; // or pset? +} + void LocationInfo::print() const { } diff --git a/RTCP/CNProc/src/LocationInfo.h b/RTCP/CNProc/src/LocationInfo.h index 98cff2d77df4f140e92e88658655107f87a94ba8..5d5e16a2ce6a99623510cbbdace96df63d70b174 100644 --- a/RTCP/CNProc/src/LocationInfo.h +++ b/RTCP/CNProc/src/LocationInfo.h @@ -3,7 +3,6 @@ #include <vector> -#if defined HAVE_BGP #if defined HAVE_MPI // we do not need mpi.h here, but including it after bgp_personality.h leads // to compilation errors @@ -11,6 +10,7 @@ #include <mpi.h> #endif // HAVE_MPI +#if defined HAVE_BGP #include <common/bgp_personality.h> #endif // HAVE_BGP @@ -23,9 +23,7 @@ class LocationInfo public: LocationInfo(); -#if defined HAVE_BGP unsigned remapOnTree(unsigned pset, unsigned core) const; -#endif void print() const;