Skip to content

Commit d9d65fb

Browse files
authored
Windows build fix
1 parent 2ff3388 commit d9d65fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/mnist-learn/data_read.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @brief Read buffers from binary data file.
3232
* @param path_to_data path to binary data file.
3333
*/
34-
std::vector<std::vector<unsigned char>> read_images_from_file(const std::string &path_to_data)
34+
std::vector<std::vector<unsigned char>> read_images_from_file(const std::filesystem::path &path_to_data)
3535
{
3636
std::ifstream file_stream(path_to_data, std::ios::binary);
3737
std::vector<unsigned char> buffer;

0 commit comments

Comments
 (0)