Skip to content

Commit

Permalink
Update arg_kv.h
Browse files Browse the repository at this point in the history
  • Loading branch information
maths644311798 authored Dec 15, 2023
1 parent ec0bc69 commit 712d541
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yacl/utils/spi/argument/arg_kv.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ class SpiArg {
}

template <typename T>
SpiArg& operator=(const T &value) {
SpiArg &operator=(const T &value) {
value_ = value;
return *this;
}

// Specialized functions of operator=<T>
SpiArg& operator=(const char *value);
SpiArg& operator=(const std::string &value);
SpiArg &operator=(const char *value);
SpiArg &operator=(const std::string &value);

const std::string &Key() const;
bool HasValue() const;
Expand Down

0 comments on commit 712d541

Please sign in to comment.