summaryrefslogtreecommitdiff
path: root/src/parser
diff options
context:
space:
mode:
authorGereon Kremer <gkremer@stanford.edu>2021-04-27 07:31:58 +0200
committerGitHub <noreply@github.com>2021-04-27 05:31:58 +0000
commit20820daece2eaf340a944ff386ffbafed1b79b75 (patch)
treefc7865a1bb468fa4d3749052f65106d15532dd31 /src/parser
parentbaeb7af81166d709bfbbc7b8da13ac238c1e9579 (diff)
Use std::hash for API types (#6432)
This PR replaces all api::*HashFunction objects by specializations of std::hash. std::hash is meant to be extended in this way, and it allows for a much cleaner usage of std::unordered_set and std::unordered_map with these types.
Diffstat (limited to 'src/parser')
-rw-r--r--src/parser/tptp/tptp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/tptp/tptp.h b/src/parser/tptp/tptp.h
index daeb5be58..0be74c79d 100644
--- a/src/parser/tptp/tptp.h
+++ b/src/parser/tptp/tptp.h
@@ -193,7 +193,7 @@ class Tptp : public Parser {
api::Term d_utr_op;
api::Term d_uts_op;
// The set of expression that already have a bridge
- std::unordered_set<api::Term, api::TermHashFunction> d_r_converted;
+ std::unordered_set<api::Term> d_r_converted;
std::unordered_map<std::string, api::Term> d_distinct_objects;
std::vector< pANTLR3_INPUT_STREAM > d_in_created;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback