From 1bc12139a2385bc7c5a70d971cc71069e21a64ea Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Wed, 17 Feb 2016 17:00:30 +1100 Subject: [PATCH] ComponentCondReference: mark ctors explicit --- src/parser/ComponentCondReference.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;