pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/linpsk/files Bugfix for the <pkgsrc_fixes.h> heade...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72d65a805793
branches:  trunk
changeset: 490637:72d65a805793
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Mar 16 20:00:32 2005 +0000

description:
Bugfix for the <pkgsrc_fixes.h> header. Use c.at() instead of c::at().
Approved by wiz.

diffstat:

 ham/linpsk/files/pkgsrc_fixes.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cd7c6a8a9ba3 -r 72d65a805793 ham/linpsk/files/pkgsrc_fixes.h
--- a/ham/linpsk/files/pkgsrc_fixes.h   Wed Mar 16 19:06:10 2005 +0000
+++ b/ham/linpsk/files/pkgsrc_fixes.h   Wed Mar 16 20:00:32 2005 +0000
@@ -15,7 +15,7 @@
 #ifdef __cplusplus
 template <class T> typename T::reference at_replacement(T &c, const typename T::size_type &i) {
 # ifdef HAVE_STD_VECTOR_AT
-       return c::at(i);
+       return c.at(i);
 # else
        return c[i];
 # endif



Home | Main Index | Thread Index | Old Index