]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
ComponentCondReference: mark ctors explicit
authorJustin Viiret <justin.viiret@intel.com>
Wed, 17 Feb 2016 06:00:30 +0000 (17:00 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 20 Apr 2016 03:34:53 +0000 (13:34 +1000)
src/parser/ComponentCondReference.h

index 9d53b2a82ee3797003637d8cdcd9087aab1ce058..c0ee9ac3ac2255ff8377beb9e726f80ba2adc865 100644 (file)
@@ -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<Component> c);
+    explicit ComponentCondReference(unsigned ref);
+    explicit ComponentCondReference(const std::string &name);
+    explicit ComponentCondReference(std::unique_ptr<Component> c);
 
     ~ComponentCondReference() override;
     ComponentCondReference *clone() const override;