odbxx.hxx should #include <functional>
Issue #226
resolved
Trying new odbxx.hxx on Centos-7 setup.
Got compile error when I initially added odb class to frontend:
In file included from febrb.cxx:12:0: /home/mpmtdaq/packages/midas/include/odbxx.hxx:369:7: error: ‘function’ in namespace ‘std’ does not name a type std::function<void(midas::odb &)> m_watch_callback;
Fixed by adding
#include <functional>
to start of odbxx.hxx. Seems that should be added permanently.
Comments (2)
-
-
- changed status to resolved
Fixed
- Log in to comment
Thanks for the hint, I added it permamently.