From f3dc9a6143fca9480e5d6ea315de3379aaaaf421 Mon Sep 17 00:00:00 2001 From: silverqx Date: Tue, 18 Jul 2023 12:03:41 +0200 Subject: [PATCH] models added missing Model using --- tests/models/models/filepropertyproperty.hpp | 1 + tests/models/models/torrentpeer.hpp | 1 + tests/models/models/torrentpeereager.hpp | 1 + tests/models/models/torrentpreviewablefile.hpp | 1 + tests/models/models/torrentpreviewablefileproperty.hpp | 1 + 5 files changed, 5 insertions(+) diff --git a/tests/models/models/filepropertyproperty.hpp b/tests/models/models/filepropertyproperty.hpp index 67d48e102..bf137721d 100644 --- a/tests/models/models/filepropertyproperty.hpp +++ b/tests/models/models/filepropertyproperty.hpp @@ -9,6 +9,7 @@ namespace Models { +using Orm::Tiny::Model; using Orm::Tiny::Relations::BelongsTo; class TorrentPreviewableFileProperty; diff --git a/tests/models/models/torrentpeer.hpp b/tests/models/models/torrentpeer.hpp index 9a32de4c2..4c2a90902 100644 --- a/tests/models/models/torrentpeer.hpp +++ b/tests/models/models/torrentpeer.hpp @@ -9,6 +9,7 @@ namespace Models { +using Orm::Tiny::Model; using Orm::Tiny::Relations::BelongsTo; class Torrent; diff --git a/tests/models/models/torrentpeereager.hpp b/tests/models/models/torrentpeereager.hpp index 470b98cef..72a1b6fd6 100644 --- a/tests/models/models/torrentpeereager.hpp +++ b/tests/models/models/torrentpeereager.hpp @@ -9,6 +9,7 @@ namespace Models { +using Orm::Tiny::Model; using Orm::Tiny::Relations::BelongsTo; // NOLINTNEXTLINE(bugprone-exception-escape) diff --git a/tests/models/models/torrentpreviewablefile.hpp b/tests/models/models/torrentpreviewablefile.hpp index da78fa0b5..f37ce3170 100644 --- a/tests/models/models/torrentpreviewablefile.hpp +++ b/tests/models/models/torrentpreviewablefile.hpp @@ -18,6 +18,7 @@ using Orm::Constants::SIZE_; using Orm::Constants::SPACE_IN; using Orm::Tiny::Casts::Attribute; +using Orm::Tiny::Model; using Orm::Tiny::Relations::BelongsTo; using Orm::Tiny::Relations::HasOne; diff --git a/tests/models/models/torrentpreviewablefileproperty.hpp b/tests/models/models/torrentpreviewablefileproperty.hpp index 5eabe8782..c76412c13 100644 --- a/tests/models/models/torrentpreviewablefileproperty.hpp +++ b/tests/models/models/torrentpreviewablefileproperty.hpp @@ -12,6 +12,7 @@ namespace Models { +using Orm::Tiny::Model; using Orm::Tiny::Relations::HasMany; class FilePropertyProperty;