From 465c6a9434283155135ab28bd70180e4ee6d9778 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Apr 2019 20:26:58 +0200 Subject: api: fix gcc Issue: #926 --- api/plugin-support.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api') diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp index 90aeb8f2..dae4723e 100644 --- a/api/plugin-support.hpp +++ b/api/plugin-support.hpp @@ -220,7 +220,7 @@ private: dylib_list ret; const struct filter_ { - type type = type::Invalid; + type t = type::Invalid; QString glob; dylib_load_mode load_mode = dylib_load_norm; } filters[] = { @@ -236,7 +236,7 @@ private: for (const QString& filename : dir.entryList({ filter.glob }, QDir::Files, QDir::Name)) { dylib_load_mode load_mode_{filter.load_mode | load_mode}; - auto lib = std::make_shared(QString("%1/%2").arg(library_path, filename), filter.type, load_mode_); + auto lib = std::make_shared(QString("%1/%2").arg(library_path, filename), filter.t, load_mode_); if (lib->type == type::Invalid) continue; -- cgit v1.2.3