From 6374aef924a72301c9631055ec1513a82e9456ed Mon Sep 17 00:00:00 2001 From: VZ Date: Wed, 27 Feb 2019 22:11:50 +0200 Subject: [PATCH] Use explicit constructor for better type restriction Co-Authored-By: catalinr --- src/qt/choice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/choice.cpp b/src/qt/choice.cpp index ef7f4bfa48..9399820bf6 100644 --- a/src/qt/choice.cpp +++ b/src/qt/choice.cpp @@ -20,7 +20,7 @@ namespace class LexicalSortProxyModel : public QSortFilterProxyModel { public: - LexicalSortProxyModel(QObject* owner) : QSortFilterProxyModel(owner) {} + explicit LexicalSortProxyModel(QObject* owner) : QSortFilterProxyModel(owner) {} bool lessThan( const QModelIndex &left, const QModelIndex &right ) const wxOVERRIDE {