Mercurial > hg > octave-nkf
diff libinterp/octave-value/ov-java.h @ 15858:fb756e8d6620
Silence compilation warning in ov-java.h.
* libinterp/octave-value/ov-java.h(print, print_raw): Move function
bodies to ov-java.cc. Leave only prototypes in .h file.
* libinterp/octave-value/ov-java.cc(print, print_raw): Function bodies
moved from ov-java.h.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 27 Dec 2012 21:43:35 -0800 |
parents | fe2cefaa772b |
children | d63878346099 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.h +++ b/libinterp/octave-value/ov-java.h @@ -149,16 +149,9 @@ dim_vector dims (void) const; - void print (std::ostream& os, bool pr_as_read_syntax = false) const - { - os << "<Java object: " << java_classname << ">"; - newline(os); - } + void print (std::ostream& os, bool pr_as_read_syntax = false) const; - void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const - { - print(os, pr_as_read_syntax); - } + void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; octave_value_list subsref (const std::string& type,