From: Justin Viiret Date: Wed, 17 Feb 2016 06:00:30 +0000 (+1100) Subject: ComponentCondReference: mark ctors explicit X-Git-Tag: v4.2.0^2~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bc12139a2385bc7c5a70d971cc71069e21a64ea;p=thirdparty%2Fvectorscan.git ComponentCondReference: mark ctors explicit --- diff --git a/src/parser/ComponentCondReference.h b/src/parser/ComponentCondReference.h index 9d53b2a8..c0ee9ac3 100644 --- a/src/parser/ComponentCondReference.h +++ b/src/parser/ComponentCondReference.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Intel Corporation + * Copyright (c) 2015-2016, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -46,9 +46,9 @@ class ComponentCondReference : public ComponentSequence { friend class ReferenceVisitor; friend class PrintVisitor; public: - ComponentCondReference(unsigned ref); - ComponentCondReference(const std::string &name); - ComponentCondReference(std::unique_ptr c); + explicit ComponentCondReference(unsigned ref); + explicit ComponentCondReference(const std::string &name); + explicit ComponentCondReference(std::unique_ptr c); ~ComponentCondReference() override; ComponentCondReference *clone() const override;