Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 17%] Building CXX object plugins/poshuku/CMakeFiles/leechcraft_poshuku.dir/poshuku.cpp.obj
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp: In member function 'QStringList LeechCraft::Summary::Core::GetTagsForIndex(int, QAbstractItemModel*) const':
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: error: no matching function for call to 'Map(const QStringList&, LeechCraft::Summary::Core::GetTagsForIndex(int, QAbstractItemModel*) const::<lambda(const QString&)>)'
- return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
- ^
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: candidates are:
- In file included from X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:33:0:
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:84:7: note: template<class T, template<class U> class Container, class F> typename std::enable_if<(! std::is_same<void, decltype (LeechCraft::Util::Invoke(f, declval<T>()))>::value), typename LeechCraft::Util::WrapType<Container<typename std::decay<decltype (LeechCraft::Util::Invoke(f, declval<T>()))>::type> >::type>::type LeechCraft::Util::Map(const Container<T>&, F)
- auto Map (const Container<T>& c, F f) -> typename std::enable_if<!std::is_same<void, decltype (Invoke (f, std::declval<T> ()))>::value,
- ^
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:84:7: note: template argument deduction/substitution failed:
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: can't deduce a template for 'const Container<T>' from non-template type 'const QStringList'
- return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
- ^
- In file included from X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:33:0:
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:94:7: note: template<template<class ...> class Container, class F, template<class> class ResultCont, class ... ContArgs> LeechCraft::Util::WrapType_t<ResultCont<typename std::decay<decltype (LeechCraft::Util::Invoke(f, (* c.begin())))>::type> > LeechCraft::Util::Map(const Container<ContArgs ...>&, F)
- auto Map (const Container<ContArgs...>& c, F f) -> WrapType_t<ResultCont<typename std::decay<decltype (Invoke (f, *c.begin ()))>::type>>
- ^
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:94:7: note: template argument deduction/substitution failed:
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: can't deduce a template for 'const Container<ContArgs ...>' from non-template type 'const QStringList'
- return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
- ^
- In file included from X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:33:0:
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:114:7: note: template<class T, template<class U> class Container, class F> typename std::enable_if<std::is_same<void, decltype (LeechCraft::Util::Invoke(f, declval<T>()))>::value, void>::type LeechCraft::Util::Map(const Container<T>&, F)
- auto Map (const Container<T>& c, F f) -> typename std::enable_if<std::is_same<void, decltype (Invoke (f, std::declval<T> ()))>::value, void>::type
- ^
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/util/sll/prelude.h:114:7: note: template argument deduction/substitution failed:
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:153:78: note: can't deduce a template for 'const Container<T>' from non-template type 'const QStringList'
- return Util::Map (ids, [tm] (const QString& id) { return tm->GetTag (id); });
- ^
- X:/project/MINGW-packages/mingw-w64-leechcraft-git/src/x86_64/src/plugins/summary/core.cpp:154:2: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- plugins/summary/CMakeFiles/leechcraft_summary.dir/build.make:118: ошибка выполнения рецепта для цели «plugins/summary/CMakeFiles/leechcraft_summary.dir/core.cpp.obj»
- make[2]: *** [plugins/summary/CMakeFiles/leechcraft_summary.dir/core.cpp.obj] Ошибка 1
- CMakeFiles/Makefile2:1400: ошибка выполнения рецепта для цели «plugins/summary/CMakeFiles/leechcraft_summary.dir/all»
- make[1]: *** [plugins/summary/CMakeFiles/leechcraft_summary.dir/all] Ошибка 2
- make[1]: *** Ожидание завершения заданий…
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement