Mark constructor explicit.
GitOrigin-RevId: ac21a4de5e4f33036ba8193b7f91e3497ae5888c
This commit is contained in:
parent
e5f068e47a
commit
c856242644
@ -120,7 +120,7 @@ class MultiTd : public Actor {
|
|||||||
string name = "Td";
|
string name = "Td";
|
||||||
class TdActorContext : public ActorContext {
|
class TdActorContext : public ActorContext {
|
||||||
public:
|
public:
|
||||||
TdActorContext(std::string tag) : tag_(std::move(tag)) {
|
explicit TdActorContext(std::string tag) : tag_(std::move(tag)) {
|
||||||
}
|
}
|
||||||
std::string tag_;
|
std::string tag_;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user