Browse Source

Fixed a non-ISOC++ Compliant call to getcwd

Former-commit-id: 2d1a3c8cbb
tempestpy_adaptions
PBerger 11 years ago
parent
commit
0307007d27
  1. 2
      src/storm.cpp

2
src/storm.cpp

@ -141,7 +141,7 @@ void setUpFileLogging() {
*/ */
std::string getCurrentWorkingDirectory() { std::string getCurrentWorkingDirectory() {
char temp[512]; char temp[512];
return (getcwd(temp, 512 - 1) ? std::string(temp) : std::string(""));
return (_getcwd(temp, 512 - 1) ? std::string(temp) : std::string(""));
} }
/*! /*!

Loading…
Cancel
Save