From ca63a42007212baa18e3d1809558ea39382586db Mon Sep 17 00:00:00 2001 From: vuule Date: Mon, 29 Mar 2021 12:16:47 -0700 Subject: [PATCH] place concrete datasource type in anonymous namespace --- cpp/src/io/utilities/datasource.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpp/src/io/utilities/datasource.cpp b/cpp/src/io/utilities/datasource.cpp index abc7a5ae056..8f2a5389b4d 100644 --- a/cpp/src/io/utilities/datasource.cpp +++ b/cpp/src/io/utilities/datasource.cpp @@ -25,6 +25,7 @@ namespace cudf { namespace io { +namespace { /** * @brief Base class for file input. Only implements direct device reads. @@ -220,6 +221,8 @@ class user_datasource_wrapper : public datasource { datasource *const source; ///< A non-owning pointer to the user-implemented datasource }; +} // namespace + std::unique_ptr datasource::create(const std::string &filepath, size_t offset, size_t size)