Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental/mapbox variant #1104

Merged
merged 15 commits into from
Aug 14, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove remnants of boost::variant
DennisOSRM committed Aug 14, 2014

Verified

This commit was signed with the committer’s verified signature.
lucasssvaz Lucas Saavedra Vaz
commit 4c3cb76cedaa11209113711b47c0d213459db91c
8 changes: 0 additions & 8 deletions DataStructures/JSONContainer.h
Original file line number Diff line number Diff line change
@@ -33,8 +33,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "../ThirdParty/variant/variant.hpp"
#include "../Util/StringUtil.h"

// #include <boost/variant.hpp>

#include <iostream>
#include <vector>
#include <string>
@@ -43,14 +41,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace JSON
{

// struct String;
// struct Number;
struct Object;
struct Array;
// struct True;
// struct False;
// struct Null;


struct String
{
16 changes: 0 additions & 16 deletions DataStructures/StaticRTree.h
Original file line number Diff line number Diff line change
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/thread.hpp>
// #include <boost/variant.hpp>

#include <tbb/parallel_for.h>
#include <tbb/parallel_sort.h>
@@ -324,23 +323,8 @@ class StaticRTree
return other.min_dist < min_dist;
}

// inline bool RepresentsTreeNode() const
// {
// return mapbox::util::apply_visitor(decide_type_visitor(), node);
// }

float min_dist;
IncrementalQueryNodeType node;

// private:
// class decide_type_visitor : public mapbox::util::static_visitor<bool>
// {
// public:
// bool operator()(const TreeNode &) const { return true; }

// template<typename AnotherType>
// bool operator()(const AnotherType &) const { return false; }
// };
};

typename ShM<TreeNode, UseSharedMemory>::vector m_search_tree;