Reduce usage of [[nodiscard]] attributes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
9559204c8f
commit
29d73a474f
64 changed files with 323 additions and 326 deletions
|
@ -32,9 +32,9 @@ class DummyResourceAPI : public ResourceAPI {
|
|||
}
|
||||
|
||||
DummyResourceAPI() : ResourceAPI() {}
|
||||
[[nodiscard]] auto getSortingMethods() const -> QList<SortingMethod> override { return {}; }
|
||||
auto getSortingMethods() const -> QList<SortingMethod> override { return {}; }
|
||||
|
||||
[[nodiscard]] Task::Ptr searchProjects(SearchArgs&&, SearchCallbacks&& callbacks) const override
|
||||
Task::Ptr searchProjects(SearchArgs&&, SearchCallbacks&& callbacks) const override
|
||||
{
|
||||
auto task = makeShared<SearchTask>();
|
||||
QObject::connect(task.get(), &Task::succeeded, [callbacks] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue