summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-05 20:26:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-05 20:29:56 +0200
commit465c6a9434283155135ab28bd70180e4ee6d9778 (patch)
tree62e68514438a5e4e36d324040871aafb81957300 /api
parentb658baa27d4ecf98104043b893a3e5af650cf114 (diff)
api: fix gcc
Issue: #926
Diffstat (limited to 'api')
-rw-r--r--api/plugin-support.hpp4
1 files changed, 2 insertions, 2 deletions
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<dylib>(QString("%1/%2").arg(library_path, filename), filter.type, load_mode_);
+ auto lib = std::make_shared<dylib>(QString("%1/%2").arg(library_path, filename), filter.t, load_mode_);
if (lib->type == type::Invalid)
continue;