galera
galera copied to clipboard
Fix build galera with std::shared_ptr
Default scons configuration provides '-ansi' flag to g++ compiler, which actually means '-std=c++98'. So, later tests for c++11 features always fails and build finaly is always based on TR1/Boost implementations.
Rewriting this flag to '-std=c++11' effectively invokes std library
instead, but galera then fails to build because of using for_each
without explicitly included