Skip to content
Snippets Groups Projects
Commit 065677ee authored by Marvin Häuser's avatar Marvin Häuser
Browse files

simulator: fix printing the command file name

Printing the command file name via piping the ifstream causes a build
error with the C++ 11 standard forced. Replace the ifstream with the
original file name string.
parent c99f89e8
No related branches found
No related tags found
1 merge request!477[WIP] simulation code generation fixes
......@@ -49,7 +49,7 @@ int ServerLocal::run(){
char aCmd[BUFFER_SIZE];
int aNumberOfBytes;
if (aCmdFileH.is_open()){
std::cout << "Reading command file " << aCmdFileH << std::endl;
std::cout << "Reading command file " << _cmdFile << std::endl;
while(!(_syncInfo->_terminate || aCmdFileH.eof())) {
aCmdFileH.getline(aCmd,BUFFER_SIZE-1);
aNumberOfBytes=strlen(aCmd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment