Browse Source

Fixed MathsatExpressionAdapter.h, where the adaption of std::hash was already wrapped in "namespace std" but the definition used std:: again.

Former-commit-id: 1d8aaaeca9
tempestpy_adaptions
PBerger 9 years ago
parent
commit
3cda2d153a
  1. 6
      src/adapters/MathsatExpressionAdapter.h

6
src/adapters/MathsatExpressionAdapter.h

@ -22,9 +22,9 @@
namespace std {
// Define hashing operator for MathSAT's declarations.
template <>
struct std::hash<msat_decl> {
std::size_t operator()(msat_decl const& declaration) const {
return std::hash<void*>()(declaration.repr);
struct hash<msat_decl> {
size_t operator()(msat_decl const& declaration) const {
return hash<void*>()(declaration.repr);
}
};
}

Loading…
Cancel
Save