Mercurial > hg > octave-nkf
diff liboctave/oct-inttypes.h @ 4919:a1073eef650c
[project @ 2004-07-27 15:22:50 by jwe]
author | jwe |
---|---|
date | Tue, 27 Jul 2004 15:22:51 +0000 |
parents | c638c144d4da |
children | b22a7a1db0d5 |
line wrap: on
line diff
--- a/liboctave/oct-inttypes.h +++ b/liboctave/oct-inttypes.h @@ -208,7 +208,7 @@ octave_int<T> min (void) const { return std::numeric_limits<T>::min (); } octave_int<T> max (void) const { return std::numeric_limits<T>::max (); } - int nbits (void) const { return sizeof (T) * CHAR_BIT; } + static int nbits (void) { return sizeof (T) * CHAR_BIT; } private: