Skip to content

Commit

Permalink
Cast filename with std::string
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenv committed Feb 12, 2024
1 parent 5dc35c6 commit 3911930
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libtiledbsoma/src/soma/soma_dataframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class SOMADataFrame : public SOMAArray {
: SOMAArray(
mode,
uri,
std::filesystem::path(uri).filename().string(), // array name
std::string(std::filesystem::path(uri).filename()), // array name
ctx,
column_names,
"auto", // batch_size
Expand Down
2 changes: 1 addition & 1 deletion libtiledbsoma/src/soma/soma_dense_ndarray.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class SOMADenseNDArray : public SOMAArray {
: SOMAArray(
mode,
uri,
std::filesystem::path(uri).filename().string(), // array name
std::string(std::filesystem::path(uri).filename()), // array name
ctx,
column_names,
"auto", // batch_size
Expand Down
2 changes: 1 addition & 1 deletion libtiledbsoma/src/soma/soma_sparse_ndarray.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class SOMASparseNDArray : public SOMAArray {
: SOMAArray(
mode,
uri,
std::filesystem::path(uri).filename().string(), // array name
std::string(std::filesystem::path(uri).filename()), // array name
ctx,
column_names,
"auto", // batch_size
Expand Down

0 comments on commit 3911930

Please sign in to comment.