blob: b554b93612b10ebd2ecd7495deb77dedb0074d56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff -ur gringo-4.3.0-source/app/gringo/main.cc gringo-4.3.0-source-patched/app/gringo/main.cc
--- gringo-4.3.0-source/app/gringo/main.cc 2014-02-20 18:27:32.000000000 +0100
+++ gringo-4.3.0-source-patched/app/gringo/main.cc 2014-02-25 15:36:41.432512611 +0100
@@ -34,6 +34,7 @@
#include <gringo/version.hh>
#include <gringo/control.hh>
#include <iostream>
+#include <limits>
#include <stdexcept>
#include <program_opts/application.h>
#include <program_opts/typed_value.h>
@@ -263,7 +264,7 @@
virtual void run() {
using namespace Gringo;
- grOpts_.verbose = verbose() == UINT_MAX;
+ grOpts_.verbose = verbose() == std::numeric_limits<unsigned int>::max();
Output::OutputPredicates outPreds;
if (grOpts_.text) {
Output::OutputBase out(std::move(outPreds), std::cout, grOpts_.lpRewrite);
|