From 5689a96602c3c659f3679c43778008b06309546a Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 2 Oct 2014 19:22:02 +0200 Subject: [PATCH] make c'tors of Descriptors explicit --- Descriptors/GPXDescriptor.h | 2 +- Descriptors/JSONDescriptor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Descriptors/GPXDescriptor.h b/Descriptors/GPXDescriptor.h index bc6a91280..ef86a517a 100644 --- a/Descriptors/GPXDescriptor.h +++ b/Descriptors/GPXDescriptor.h @@ -57,7 +57,7 @@ template class GPXDescriptor : public BaseDescriptor class JSONDescriptor : public BaseDescriptor GenerateRouteNames; public: - JSONDescriptor(DataFacadeT *facade) : facade(facade), entered_restricted_area_count(0) {} + explicit JSONDescriptor(DataFacadeT *facade) : facade(facade), entered_restricted_area_count(0) {} void SetConfig(const DescriptorConfig &c) final { config = c; }