Open moneroexamples opened 7 years ago
I solved this by renaming the set
function to set2
. For some reason in new gcc, using set
bugs out as gcc wants to use std::std
. The change is easy as set
is used only in one file: routing.h
.
So the changes were in 3 definition of set
function:
void set2(Func f, typename std::enable_if<
and the line that was bugging out:
ret.template set2<typename function_t::template arg<Indices>...>(std::move(f));
This compiles fine.
Same problem here and solved reordering includes.
Updated to newset gcc 7.1.1 in manjaro, and compilation of my project fails due to this error:
This is the problematic line:
https://github.com/ipkn/crow/blob/master/include/crow/routing.h#L413
Anyone knows how to rectify this problem?