Move using declaration out of global namespace

This commit is contained in:
Robert Schulze 2022-12-10 18:58:31 +00:00
parent 8bcafe4544
commit 9d4d2355a7
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -21,16 +21,13 @@ limitations under the License. */
namespace DB
{
using Time = std::chrono::time_point<std::chrono::system_clock>;
using Seconds = std::chrono::seconds;
using MilliSeconds = std::chrono::milliseconds;
struct BlocksMetadata
{
String hash;
UInt64 version;
Time time;
std::chrono::time_point<std::chrono::system_clock> time;
};
struct MergeableBlocks
@ -54,6 +51,10 @@ friend class LiveViewSource;
friend class LiveViewEventsSource;
friend class LiveViewSink;
using Time = std::chrono::time_point<std::chrono::system_clock>;
using Seconds = std::chrono::seconds;
using MilliSeconds = std::chrono::milliseconds;
public:
StorageLiveView(
const StorageID & table_id_,