Skip to content

Commit

Permalink
COMP: Fixing 2 compile errors on Linux CI
Browse files Browse the repository at this point in the history
include/IROptimizerObserver.h:62:49: error: 'endl' was not declared in this scope; did you mean 'std::endl'?

include/IRStdThreadStorage.h:60:7: error: invalid use of incomplete type 'class the_thread_interface_t'
  • Loading branch information
dzenanz committed Oct 15, 2024
1 parent 5a06179 commit efb5220
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/IROptimizerObserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class optimizer_observer_t : public itk::Command
const TOptimizer * optimizer = dynamic_cast<const TOptimizer *>(object);
*log_ << (unsigned int)(optimizer->GetCurrentIteration()) << '\t'
<< optimizer->GetValue() << '\t'
<< optimizer->GetCurrentPosition() << endl;
<< optimizer->GetCurrentPosition() << std::endl;
}

the_log_t * log_;
Expand Down
1 change: 1 addition & 0 deletions include/IRStdThreadStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

// local includes:
#include "IRThreadStorage.h"
#include "IRThreadInterface.h"

// std includes:
#include <thread>
Expand Down

0 comments on commit efb5220

Please sign in to comment.