fix code style
1. add .clang-format code style file. 2. format code of core. use `clang-format -i -style=file ./core/*/*.cc ./core/*/*.h` command to format
This commit is contained in:
@@ -18,26 +18,15 @@
|
||||
|
||||
namespace AlibabaCloud {
|
||||
|
||||
Signer::Signer(Type type, const std::string & name,
|
||||
const std::string & version) :
|
||||
type_(type),
|
||||
name_(name),
|
||||
version_(version) {
|
||||
}
|
||||
Signer::Signer(Type type, const std::string &name, const std::string &version)
|
||||
: type_(type), name_(name), version_(version) {}
|
||||
|
||||
Signer::~Signer() {
|
||||
}
|
||||
Signer::~Signer() {}
|
||||
|
||||
std::string Signer::name() const {
|
||||
return name_;
|
||||
}
|
||||
std::string Signer::name() const { return name_; }
|
||||
|
||||
Signer::Type Signer::type() const {
|
||||
return type_;
|
||||
}
|
||||
Signer::Type Signer::type() const { return type_; }
|
||||
|
||||
std::string Signer::version() const {
|
||||
return version_;
|
||||
}
|
||||
std::string Signer::version() const { return version_; }
|
||||
|
||||
} // namespace AlibabaCloud
|
||||
} // namespace AlibabaCloud
|
||||
|
||||
Reference in New Issue
Block a user