Skip to content

Commit

Permalink
place concrete datasource type in anonymous namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Mar 29, 2021
1 parent f2acd26 commit ca63a42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/src/io/utilities/datasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

namespace cudf {
namespace io {
namespace {

/**
* @brief Base class for file input. Only implements direct device reads.
Expand Down Expand Up @@ -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> datasource::create(const std::string &filepath,
size_t offset,
size_t size)
Expand Down

0 comments on commit ca63a42

Please sign in to comment.