]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
rose: mark RoseInstrCheckLongLit ctor explit
authorJustin Viiret <justin.viiret@intel.com>
Mon, 28 Nov 2016 22:25:43 +0000 (09:25 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 26 Apr 2017 04:41:29 +0000 (14:41 +1000)
src/rose/rose_build_program.h

index 0c725b46d33991caf54eee329643ab3f924a1316..39e2e23c480df1f9dde949d6716cc89dc7b16395 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Intel Corporation
+ * Copyright (c) 2016-2017, Intel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -1729,7 +1729,7 @@ class RoseInstrCheckLongLit
 public:
     std::string literal;
 
-    RoseInstrCheckLongLit(std::string literal_in)
+    explicit RoseInstrCheckLongLit(std::string literal_in)
         : literal(std::move(literal_in)) {}
 
     bool operator==(const RoseInstrCheckLongLit &ri) const {
@@ -1756,7 +1756,7 @@ class RoseInstrCheckLongLitNocase
 public:
     std::string literal;
 
-    RoseInstrCheckLongLitNocase(std::string literal_in)
+    explicit RoseInstrCheckLongLitNocase(std::string literal_in)
         : literal(std::move(literal_in)) {
         upperString(literal);
     }