From 9298464020fc0eea650e456833eaa57605513260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Tue, 16 Jan 2024 14:18:33 +0100 Subject: [PATCH] Remove several not needed imports --- libdnf5/repo/repo.cpp | 14 -------------- libdnf5/rpm/package_sack.cpp | 2 -- 2 files changed, 16 deletions(-) diff --git a/libdnf5/repo/repo.cpp b/libdnf5/repo/repo.cpp index 7c59d717d..f995fdd14 100644 --- a/libdnf5/repo/repo.cpp +++ b/libdnf5/repo/repo.cpp @@ -23,13 +23,10 @@ constexpr const char * REPOID_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno #include "repo_downloader.hpp" #include "rpm/package_sack_impl.hpp" #include "solv_repo.hpp" -#include "utils/string.hpp" #include "libdnf5/common/exception.hpp" #include "libdnf5/conf/const.hpp" -#include "libdnf5/logger/logger.hpp" #include "libdnf5/utils/bgettext/bgettext-mark-domain.h" -#include "libdnf5/utils/fs/file.hpp" extern "C" { #include @@ -48,23 +45,12 @@ extern "C" { #include #include -#include -#include -#include #include -#include #include #include #include -#include -#include -#include -#include #include #include -#include -#include -#include namespace libdnf5::repo { diff --git a/libdnf5/rpm/package_sack.cpp b/libdnf5/rpm/package_sack.cpp index dc655b8e5..5a17fe241 100644 --- a/libdnf5/rpm/package_sack.cpp +++ b/libdnf5/rpm/package_sack.cpp @@ -24,7 +24,6 @@ along with libdnf. If not, see . #include "solv/id_queue.hpp" #include "solv/solv_map.hpp" -#include "libdnf5/common/exception.hpp" #include "libdnf5/rpm/package_query.hpp" #include @@ -41,7 +40,6 @@ extern "C" { } #include -#include using LibsolvRepo = Repo;