Skip to content

Commit

Permalink
Fix declaration of Minisat::memUsedPeak for non-Linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
rgov committed Jun 22, 2015
1 parent 4d9462e commit 3db5894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions minisat/utils/System.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ double Minisat::memUsed() {
malloc_statistics_t t;
malloc_zone_statistics(NULL, &t);
return (double)t.max_size_in_use / (1024*1024); }
double Minisat::memUsedPeak() { return memUsed(); }
double Minisat::memUsedPeak(bool strictlyPeak) { return memUsed(); }

#else
double Minisat::memUsed() { return 0; }
double Minisat::memUsedPeak() { return 0; }
double Minisat::memUsed() { return 0; }
double Minisat::memUsedPeak(bool strictlyPeak) { return 0; }
#endif


Expand Down

0 comments on commit 3db5894

Please sign in to comment.