mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
tidy round1
This commit is contained in:
@@ -27,34 +27,15 @@
|
||||
|
||||
namespace sta {
|
||||
|
||||
SdcCmdComment::SdcCmdComment()
|
||||
{
|
||||
}
|
||||
|
||||
SdcCmdComment::SdcCmdComment(std::string comment) :
|
||||
comment_(std::move(comment))
|
||||
{
|
||||
}
|
||||
|
||||
SdcCmdComment::SdcCmdComment(std::string_view comment) :
|
||||
comment_(comment)
|
||||
{
|
||||
}
|
||||
|
||||
SdcCmdComment::~SdcCmdComment()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
SdcCmdComment::setComment(std::string comment)
|
||||
{
|
||||
comment_ = std::move(comment);
|
||||
}
|
||||
|
||||
void
|
||||
SdcCmdComment::setComment(std::string_view comment)
|
||||
{
|
||||
comment_ = comment;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace sta
|
||||
|
||||
Reference in New Issue
Block a user