mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-05-12 17:39:42 +00:00
fix template method signature
This commit is contained in:
parent
0422e2d0ab
commit
73a6a43a28
@ -443,7 +443,7 @@ protected:
|
||||
* @endcode
|
||||
*/
|
||||
template<class Object>
|
||||
QList<QSharedPointer<Object>> getAll(const QString& table, const QString& condition = "") {
|
||||
QList<QSharedPointer<Object>> getAll(const QString& table, const QString& condition = "") const {
|
||||
QH::PKG::DBObjectsRequest<Object> request(table, condition);
|
||||
|
||||
auto&& response = db()->getObject(request);
|
||||
|
Loading…
x
Reference in New Issue
Block a user