GCC-7: minor compilation fixes

This commit is contained in:
Fischlurch 2018-04-26 12:19:45 +02:00
parent 3296148dad
commit eca7aa1451
2 changed files with 2 additions and 1 deletions

View file

@ -45,6 +45,7 @@
#include "lib/util.hpp"
#include <string>
#include <vector>
#include <sstream>
#include <utility>
#include <typeinfo>

View file

@ -739,7 +739,7 @@ namespace lib {
using Holder = InPlaceBuffer<BA, sizeof(SUB)>;
Holder& holder = *static_cast<Holder*> (buffer_);
return holder.create<SUB> (std::forward<SUB> (implementation));
return holder.template create<SUB> (std::forward<SUB> (implementation));
}
template<class SUB>