mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Remove unused code
This commit is contained in:
parent
d1df2af2df
commit
edb50b5844
@ -2,7 +2,6 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <exception>
|
||||
#include <Common/DateLUT.h>
|
||||
|
||||
@ -154,19 +153,6 @@ public:
|
||||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
/// NOTE Inefficient.
|
||||
std::string toString(char separator = '-') const
|
||||
{
|
||||
std::stringstream ss;
|
||||
if (separator)
|
||||
ss << year() << separator << (month() / 10) << (month() % 10)
|
||||
<< separator << (day() / 10) << (day() % 10);
|
||||
else
|
||||
ss << year() << (month() / 10) << (month() % 10)
|
||||
<< (day() / 10) << (day() % 10);
|
||||
return ss.str();
|
||||
}
|
||||
};
|
||||
|
||||
static_assert(sizeof(LocalDate) == 4);
|
||||
|
Loading…
Reference in New Issue
Block a user