Revert "Change StaticRTree serialization constructor to static function"
This makes clang 3.4 crash on ubuntu because it can not handle lambda expressions + binding in static member functions correctly. This reverts commit d6dd6693b18e042c0068da579dcc64d1e5a2e002.
This commit is contained in:
@@ -340,7 +340,7 @@ void build_rtree(const std::string& prefix, FixtureT* fixture, std::string& leav
|
||||
node_stream.write((char *)&(fixture->nodes[0]), num_nodes * sizeof(NodeInfo));
|
||||
node_stream.close();
|
||||
|
||||
RTreeT::Build(fixture->edges, nodes_path, leaves_path, fixture->nodes);
|
||||
RTreeT r(fixture->edges, nodes_path, leaves_path, fixture->nodes);
|
||||
}
|
||||
|
||||
template<typename FixtureT, typename RTreeT=TestStaticRTree>
|
||||
|
||||
Reference in New Issue
Block a user