Skip to content

Instantly share code, notes, and snippets.

@Pwera

Pwera/sqlite_orm Secret

Created April 28, 2017 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pwera/76b15343d867c492a22f171bad61d9ed to your computer and use it in GitHub Desktop.
Save Pwera/76b15343d867c492a22f171bad61d9ed to your computer and use it in GitHub Desktop.
In file included from D:\libs\Facechat-master\doc\src\tutorial\dictionaryclient\Activator.cpp:7:0:
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h: In instantiation of 'auto& sqlite_orm::storage_impl<Ts>::get_impl() [with O = User; Ts = {}]':
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h:2420:52: required from 'auto& sqlite_orm::storage_t<Ts>::get_impl() [with O = User; Ts = {}]'
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h:3738:37: required from 'int sqlite_orm::storage_t<Ts>::insert(const O&) [with O = User; Ts = {}]'
D:\libs\Facechat-master\doc\src\tutorial\dictionaryclient\Activator.cpp:45:50: required from here
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h:1647:9: error: no return statements in function returning 'auto&'
}
^
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h:1647:9: note: only plain 'auto' return type can be deduced to 'void'
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h: In instantiation of 'auto& sqlite_orm::storage_t<Ts>::get_impl() [with O = User; Ts = {}]':
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h:3738:37: required from 'int sqlite_orm::storage_t<Ts>::insert(const O&) [with O = User; Ts = {}]'
D:\libs\Facechat-master\doc\src\tutorial\dictionaryclient\Activator.cpp:45:50: required from here
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h:2420:52: error: forming reference to void
return this->impl.template get_impl<O>();
^
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h: In instantiation of 'int sqlite_orm::storage_t<Ts>::insert(const O&) [with O = User; Ts = {}]':
D:\libs\Facechat-master\doc\src\tutorial\dictionaryclient\Activator.cpp:45:50: required from here
D:/libs/Facechat-master/external/sqlite_orm/include/sqlite_orm/sqlite_orm.h:3738:38: error: forming reference to void
auto &impl = get_impl<O>();
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment