Skip to content
Snippets Groups Projects
Commit d1bb4ae5 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

missing critical section in logger callback (cf. #1807)

parent 23a83822
No related branches found
No related tags found
No related merge requests found
(Work-in-progress): small bug fixes.
4.10.4 (June 19, 2022): improved graphical window tooltips; small bug fixes.
* New API function: mesh/removeDuplicateElements
......
......@@ -8596,6 +8596,7 @@ public:
apiMsg() {}
virtual void operator()(std::string level, std::string message)
{
#pragma omp critical
_log.push_back(level + ": " + message);
}
void get(std::vector<std::string> &log) const { log = _log; }
......
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