# HG changeset patch # User i7tiol # Date 1436363880 0 # Node ID fc325d64210b3b11b543fdf05a70e674e314e704 # Parent 393b940d7ee20b603072ff31fac2d009b7d3ba97 pq_connection.h: Additional non-const octave_pq_connection::print (). diff -r 393b940d7ee2 -r fc325d64210b main/database/src/pq_connection.h --- a/main/database/src/pq_connection.h Wed Jul 08 13:54:27 2015 +0000 +++ b/main/database/src/pq_connection.h Wed Jul 08 13:58:00 2015 +0000 @@ -116,6 +116,16 @@ { print_raw (os); } + // Octave changeset bcd71a2531d3 (Jan 31st 2014) made + // octave_base_value::print() non-const, after that this virtual + // function is not re-defined by the above print() function. Having + // both const and non-const print() here seems to work both with + // Octave < and >= bcd71a2531d3 (print() is only called over the + // parent class virtual function). + void print (std::ostream& os, bool pr_as_read_syntax = false) + { + print_raw (os); + } bool print_as_scalar (void) const { return true; }