Merge pull request #2036 from ClickHouse-Extras/clickhouse_timespan

Fixed performance issue: destructor of Poco::Timespan was not inlined…
This commit is contained in:
Günter Obiltschnig 2017-12-06 10:40:29 +01:00 committed by GitHub
commit 7e4ee52226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;