-
-
Notifications
You must be signed in to change notification settings - Fork 475
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When compiling with GCC 5 or 4 the following error is presented:
crow_all.h: In member function 'std::tuple<short unsigned int, std::vector<short unsigned int, std::allocator<short unsigned int> >, crow::routing_params> crow::Trie::find(const string&, const crow::Trie::Node*, unsigned int, crow::routing_params*, std::vector<short unsigned int>*) const':
crow_all.h:10028:63: error: converting to 'std::tuple<short unsigned int, std::vector<short unsigned int, std::allocator<short unsigned int> >, crow::routing_params>' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {const short unsigned int&, std::vector<short unsigned int, std::allocator<short unsigned int> >&, crow::routing_params&}; <template-parameter-2-2> = void; _Elements = {short unsigned int, std::vector<short unsigned int, std::allocator<short unsigned int> >, crow::routing_params}]'
return {node->rule_index, *blueprints, *params};
^
crow_all.h:10155:50: error: converting to 'std::tuple<short unsigned int, std::vector<short unsigned int, std::allocator<short unsigned int> >, crow::routing_params>' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {short unsigned int&, std::vector<short unsigned int, std::allocator<short unsigned int> >&, crow::routing_params&}; <template-parameter-2-2> = void; _Elements = {short unsigned int, std::vector<short unsigned int, std::allocator<short unsigned int> >, crow::routing_params}]'
return {found, found_BP, match_params}; //Called after all the recursions have been done
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working