diff options
Diffstat (limited to 'unoidl/source')
-rw-r--r-- | unoidl/source/sourceprovider-scanner.hxx | 4 | ||||
-rw-r--r-- | unoidl/source/unoidl-check.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/unoidl/source/sourceprovider-scanner.hxx b/unoidl/source/sourceprovider-scanner.hxx index 614340e41b48..2b624a83ce6d 100644 --- a/unoidl/source/sourceprovider-scanner.hxx +++ b/unoidl/source/sourceprovider-scanner.hxx @@ -76,8 +76,8 @@ class SourceProviderPolymorphicStructTypeTemplateEntityPad: public SourceProviderEntityPad { public: - SourceProviderPolymorphicStructTypeTemplateEntityPad(bool published): - SourceProviderEntityPad(published) + explicit SourceProviderPolymorphicStructTypeTemplateEntityPad(bool published) + : SourceProviderEntityPad(published) {} std::vector<OUString> typeParameters; diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx index 22dff88d5f51..c6cdf4c7a9f1 100644 --- a/unoidl/source/unoidl-check.cxx +++ b/unoidl/source/unoidl-check.cxx @@ -140,7 +140,7 @@ OUString showDirection( } struct EqualsAnnotation { - EqualsAnnotation(OUString const & name): name_(name) {} + explicit EqualsAnnotation(OUString const & name): name_(name) {} bool operator ()(unoidl::AnnotatedReference const & ref) { return ref.name == name_; } |