summaryrefslogtreecommitdiff
path: root/graphics/asymptote/fileio.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/fileio.h')
-rw-r--r--graphics/asymptote/fileio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/asymptote/fileio.h b/graphics/asymptote/fileio.h
index f64ce71d7c..e23bf343f6 100644
--- a/graphics/asymptote/fileio.h
+++ b/graphics/asymptote/fileio.h
@@ -92,6 +92,9 @@ public:
bool Standard() {return standard;}
+ bool enabled() {return !standard || settings::verbose > 1 ||
+ interact::interactive || !settings::getSetting<bool>("quiet");}
+
void standardEOF() {
#if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES)
cout << endl;
@@ -510,9 +513,6 @@ public:
return 0;
}
- bool enabled() {return !standard || settings::verbose > 1 ||
- interact::interactive || !settings::getSetting<bool>("quiet");}
-
void write(bool val) {*stream << (val ? "true " : "false ");}
void write(Int val) {*stream << val;}
void write(double val) {*stream << val;}