-
-
Save Pwera/a6ee8f93db5e24fa02a94393953b8321 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 33%] Building CXX object CMakeFiles/untitled.dir/subentities.cpp.obj | |
[ 66%] Building C object CMakeFiles/untitled.dir/sqlite3.c.obj | |
In file included from C:\msys64\home\Developer\untitled\subentities.cpp:16:0: | |
C:\msys64\home\Developer\untitled\sqlite_orm.h: In instantiation of 'void sqlite_orm::storage_impl<H, Ts ...>::update(const O&, sqlite3*, typename std::enable_if<std::is_same<T, HH>::value>::type*) [with O = Student; HH = Student; H = sqlite_orm::table_t<sqlite_orm::column_t<Student, int, sqlite_orm::primary_key>, sqlite_orm::column_t<Student, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, sqlite_orm::column_t<Student, int> >; Ts = {sqlite_orm::table_t<sqlite_orm::column_t<Mark, int>, sqlite_orm::column_t<Mark, int> >}; sqlite3 = sqlite3; typename std::enable_if<std::is_same<T, HH>::value>::type = void]': | |
C:\msys64\home\Developer\untitled\sqlite_orm.h:2816:13: required from 'void sqlite_orm::storage_t<Ts>::update(const O&) [with O = Student; Ts = {sqlite_orm::table_t<sqlite_orm::column_t<Student, int, sqlite_orm::primary_key>, sqlite_orm::column_t<Student, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, sqlite_orm::column_t<Student, int> >, sqlite_orm::table_t<sqlite_orm::column_t<Mark, int>, sqlite_orm::column_t<Mark, int> >}]' | |
C:\msys64\home\Developer\untitled\subentities.cpp:52:31: required from here | |
C:\msys64\home\Developer\untitled\sqlite_orm.h:1943:45: error: binding 'const Student' to reference of type 'Student&' discards qualifiers | |
this->table.for_each_column([&, &o = o] (auto c) { | |
^ | |
C:\msys64\home\Developer\untitled\sqlite_orm.h:1949:45: error: binding 'const Student' to reference of type 'Student&' discards qualifiers | |
this->table.for_each_column([&, &o = o] (auto c) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment