mirror of https://github.com/YosysHQ/yosys.git
minisat: Remove template with gzFile specialization.
All the other gzFile functions have been removed but this template was still left around.
This commit is contained in:
parent
04802e93e8
commit
8d48b47450
|
@ -36,3 +36,20 @@
|
|||
|
||||
int operator * () const { return (pos >= size) ? EOF : buf[pos]; }
|
||||
void operator ++ () { pos++; assureLookahead(); }
|
||||
--- Dimacs.h
|
||||
+++ Dimacs.h
|
||||
@@ -76,10 +76,10 @@ static void parse_DIMACS_main(B& in, Solver& S, bool strictp = false) {
|
||||
|
||||
// Inserts problem into solver.
|
||||
//
|
||||
-template<class Solver>
|
||||
-static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
|
||||
- StreamBuffer in(input_stream);
|
||||
- parse_DIMACS_main(in, S, strictp); }
|
||||
+//template<class Solver>
|
||||
+//static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
|
||||
+// StreamBuffer in(input_stream);
|
||||
+// parse_DIMACS_main(in, S, strictp); }
|
||||
|
||||
//=================================================================================================
|
||||
}
|
||||
|
|
|
@ -76,10 +76,10 @@ static void parse_DIMACS_main(B& in, Solver& S, bool strictp = false) {
|
|||
|
||||
// Inserts problem into solver.
|
||||
//
|
||||
template<class Solver>
|
||||
static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
|
||||
StreamBuffer in(input_stream);
|
||||
parse_DIMACS_main(in, S, strictp); }
|
||||
//template<class Solver>
|
||||
//static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
|
||||
// StreamBuffer in(input_stream);
|
||||
// parse_DIMACS_main(in, S, strictp); }
|
||||
|
||||
//=================================================================================================
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue