mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 01:54:10 +00:00
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]; }
|
int operator * () const { return (pos >= size) ? EOF : buf[pos]; }
|
||||||
void operator ++ () { pos++; assureLookahead(); }
|
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.
|
// Inserts problem into solver.
|
||||||
//
|
//
|
||||||
template<class Solver>
|
//template<class Solver>
|
||||||
static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
|
//static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
|
||||||
StreamBuffer in(input_stream);
|
// StreamBuffer in(input_stream);
|
||||||
parse_DIMACS_main(in, S, strictp); }
|
// parse_DIMACS_main(in, S, strictp); }
|
||||||
|
|
||||||
//=================================================================================================
|
//=================================================================================================
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue