mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	fix a few more warnings
This commit is contained in:
		
							parent
							
								
									d6ce9cce95
								
							
						
					
					
						commit
						e773e1e78d
					
				
					 4 changed files with 6 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -24,7 +24,6 @@ Notes:
 | 
			
		|||
 | 
			
		||||
#include <queue>
 | 
			
		||||
#include <fstream>
 | 
			
		||||
#include <functional>
 | 
			
		||||
#include <algorithm>
 | 
			
		||||
 | 
			
		||||
#include "util/scoped_ptr_vector.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -188,7 +187,7 @@ public:
 | 
			
		|||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 struct lemma_lt_proc : public std::function<bool(lemma*, lemma *)> {
 | 
			
		||||
struct lemma_lt_proc {
 | 
			
		||||
    bool operator() (lemma *a, lemma *b) {
 | 
			
		||||
        return (a->level () < b->level ()) ||
 | 
			
		||||
            (a->level () == b->level () &&
 | 
			
		||||
| 
						 | 
				
			
			@ -731,11 +730,11 @@ inline std::ostream &operator<<(std::ostream &out, pob const &p) {
 | 
			
		|||
    return p.display(out);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 struct pob_lt_proc : public std::function<bool(const pob*, const pob*)> {
 | 
			
		||||
struct pob_lt_proc {
 | 
			
		||||
    bool operator() (const pob *pn1, const pob *pn2) const;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 struct pob_gt_proc : public std::function<bool(const pob*, const pob*)> {
 | 
			
		||||
struct pob_gt_proc {
 | 
			
		||||
    bool operator() (const pob *n1, const pob *n2) const {
 | 
			
		||||
        return pob_lt_proc()(n2, n1);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue