Mercurial > minori
diff src/library/library.cc @ 393:963047512d34
*: clang-format
| author | Paper <paper@tflc.us> |
|---|---|
| date | Fri, 07 Nov 2025 07:16:15 -0500 |
| parents | 27c462bc7815 |
| children | 650a9159a0e7 |
line wrap: on
line diff
--- a/src/library/library.cc Fri Nov 07 07:10:32 2025 -0500 +++ b/src/library/library.cc Fri Nov 07 07:16:15 2025 -0500 @@ -26,7 +26,8 @@ if (watchers_.count(p)) continue; - watchers_[p].reset(Filesystem::GetRecursiveFilesystemWatcher(reinterpret_cast<void *>(this), p, Database::StaticEventHandler)); + watchers_[p].reset( + Filesystem::GetRecursiveFilesystemWatcher(reinterpret_cast<void *>(this), p, Database::StaticEventHandler)); } } @@ -43,8 +44,7 @@ if (id <= 0 || (find_id_ && find_id_.value() != id)) return false; - const int episode = - Strings::ToInt<int>(Strings::ToUtf8String(elements.get(anitomy::kElementEpisodeNumber))); + const int episode = Strings::ToInt<int>(Strings::ToUtf8String(elements.get(anitomy::kElementEpisodeNumber))); *aid = id; *ep = episode;
