mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
rose: mark RoseInstrCheckLongLit ctor explit
This commit is contained in:
parent
8f1b3c89fa
commit
5061b76901
@ -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
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@ -1729,7 +1729,7 @@ class RoseInstrCheckLongLit
|
|||||||
public:
|
public:
|
||||||
std::string literal;
|
std::string literal;
|
||||||
|
|
||||||
RoseInstrCheckLongLit(std::string literal_in)
|
explicit RoseInstrCheckLongLit(std::string literal_in)
|
||||||
: literal(std::move(literal_in)) {}
|
: literal(std::move(literal_in)) {}
|
||||||
|
|
||||||
bool operator==(const RoseInstrCheckLongLit &ri) const {
|
bool operator==(const RoseInstrCheckLongLit &ri) const {
|
||||||
@ -1756,7 +1756,7 @@ class RoseInstrCheckLongLitNocase
|
|||||||
public:
|
public:
|
||||||
std::string literal;
|
std::string literal;
|
||||||
|
|
||||||
RoseInstrCheckLongLitNocase(std::string literal_in)
|
explicit RoseInstrCheckLongLitNocase(std::string literal_in)
|
||||||
: literal(std::move(literal_in)) {
|
: literal(std::move(literal_in)) {
|
||||||
upperString(literal);
|
upperString(literal);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user