mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-24 10:59:23 +01:00
Fixed performance issue: destructor of Poco::Timespan was not inlined [#CLICKHOUSE-3458].
This commit is contained in:
parent
a651a78c76
commit
da8164e4f2
@ -292,6 +292,11 @@ inline void swap(Timespan& s1, Timespan& s2)
|
||||
}
|
||||
|
||||
|
||||
inline Timespan::~Timespan()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
|
@ -56,11 +56,6 @@ Timespan::Timespan(const Timespan& timespan):
|
||||
}
|
||||
|
||||
|
||||
Timespan::~Timespan()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Timespan& Timespan::operator = (const Timespan& timespan)
|
||||
{
|
||||
_span = timespan._span;
|
||||
|
Loading…
x
Reference in New Issue
Block a user