diff --git a/libpkg/data/package.h b/libpkg/data/package.h index e072d7f..d710b48 100644 --- a/libpkg/data/package.h +++ b/libpkg/data/package.h @@ -397,7 +397,7 @@ struct LIBPKG_EXPORT Package : public ReflectiveRapidJSON::JsonSerializable fromInfo(const std::string &info, bool isPackageInfo = false); static std::shared_ptr fromDescription(const std::vector &descriptionParts); - static void fromDatabaseFile(const std::string &archivePath, const std::function)> &visitor); + static void fromDatabaseFile(const std::string &archivePath, const std::function &)> &visitor); static std::shared_ptr fromPkgFile(const std::string &path); static std::tuple fileNameComponents(std::string_view fileName); static std::shared_ptr fromPkgFileName(std::string_view fileName); diff --git a/libpkg/parser/package.cpp b/libpkg/parser/package.cpp index 8e3b83e..8eb592a 100644 --- a/libpkg/parser/package.cpp +++ b/libpkg/parser/package.cpp @@ -716,7 +716,7 @@ std::shared_ptr Package::fromDescription(const std::vector return package; } -void Package::fromDatabaseFile(const std::string &archivePath, const std::function)> &visitor) +void Package::fromDatabaseFile(const std::string &archivePath, const std::function &)> &visitor) { // walk though archive, file-by-file; parse files as soon as desc/files available and return via visitor auto packages = std::unordered_map>();