Fixed performance issue: destructor of Poco::Timespan was not inlined [#CLICKHOUSE-3458].

This commit is contained in:
Alexey Milovidov 2017-12-05 04:10:58 +03:00 committed by proller
parent a651a78c76
commit da8164e4f2
2 changed files with 5 additions and 5 deletions

View File

@ -292,6 +292,11 @@ inline void swap(Timespan& s1, Timespan& s2)
}
inline Timespan::~Timespan()
{
}
} // namespace Poco

View File

@ -56,11 +56,6 @@ Timespan::Timespan(const Timespan& timespan):
}
Timespan::~Timespan()
{
}
Timespan& Timespan::operator = (const Timespan& timespan)
{
_span = timespan._span;