Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lib4neuro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MolDyn
lib4neuro
Commits
3c596e1a
Commit
3c596e1a
authored
6 years ago
by
Martin Beseda
Browse files
Options
Downloads
Patches
Plain Diff
FIX: filesystem header is now included as experimental/filesystem to make lib4neuro more portable
parent
48ab686b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/CSVReader/CSVReader.cpp
+2
-2
2 additions, 2 deletions
src/CSVReader/CSVReader.cpp
src/DataSet/DataSet.cpp
+1
-1
1 addition, 1 deletion
src/DataSet/DataSet.cpp
with
3 additions
and
3 deletions
src/CSVReader/CSVReader.cpp
+
2
−
2
View file @
3c596e1a
...
...
@@ -5,7 +5,7 @@
#include
<string>
#include
<fstream>
#include
<sstream>
#include
<filesystem>
#include
<
experimental/
filesystem>
#include
<regex>
#include
<algorithm>
#include
<memory>
...
...
@@ -18,7 +18,7 @@
namespace
lib4neuro
{
CSVReader
::
CSVReader
(
std
::
string
file_path
,
std
::
string
delimiter
,
bool
ignore_first_line
)
{
if
(
!
std
::
filesystem
::
exists
(
file_path
))
{
if
(
!
std
::
experimental
::
filesystem
::
exists
(
file_path
))
{
THROW_RUNTIME_ERROR
(
"The file path
\'
"
+
file_path
+
"
\'
specified in CSVReader does not exist!"
);
}
...
...
This diff is collapsed.
Click to expand it.
src/DataSet/DataSet.cpp
+
1
−
1
View file @
3c596e1a
...
...
@@ -3,7 +3,7 @@
//
#include
<algorithm>
#include
<filesystem>
#include
<
experimental/
filesystem>
#include
<boost/serialization/export.hpp>
#include
"DataSetSerialization.h"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment