diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/AdblockFilter/options.cpp | 2 | ||||
-rw-r--r-- | plugins/AdblockFilter/options.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AdblockFilter/options.cpp b/plugins/AdblockFilter/options.cpp index 08f30ee..ad231bf 100644 --- a/plugins/AdblockFilter/options.cpp +++ b/plugins/AdblockFilter/options.cpp @@ -34,7 +34,7 @@ constexpr std::array abpTypeOptions = { "__unknown" // ResourceTypeUnknown 255 Unknown request type. }; -auto parseTypeOption(QStringRef &option) +inline auto parseTypeOption(QStringRef &option) { struct { bool found = false; diff --git a/plugins/AdblockFilter/options.h b/plugins/AdblockFilter/options.h index efc47a6..9f7a374 100644 --- a/plugins/AdblockFilter/options.h +++ b/plugins/AdblockFilter/options.h @@ -37,7 +37,7 @@ struct Options { bool parseAbp(const QStringRef &options); // TODO private: - std::bitset<32> flags; + std::bitset<32> flags = 0; }; } // namespace AdblockPlus |