mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-09 19:17:38 +01:00
Merge pull request #2036 from ClickHouse-Extras/clickhouse_timespan
Fixed performance issue: destructor of Poco::Timespan was not inlined…
This commit is contained in:
commit
7e4ee52226
@ -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…
Reference in New Issue
Block a user