Commit 1857d650 authored by Steve Lhomme's avatar Steve Lhomme

qt: soutchain: make soutchain copyable

Qt requires container elements to be copyable,
but class with const members can't be copy-assignable. Remove the const values
so that we can copy SoutChain.

This patch fix the compilation with Clang 9.
parent d43d77f3
......@@ -45,7 +45,7 @@ public:
typedef QPair<QString, SoutOption> OptionPairType;
typedef QList<OptionPairType> OptionsType;
const QString moduleName;
QString moduleName;
OptionsType options;
......@@ -81,9 +81,9 @@ public:
enum Kind{ String, Nested };
const Kind kind;
const QString stringValue;
const SoutModule nestedModule;
Kind kind;
QString stringValue;
SoutModule nestedModule;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment