* [patch][commit] ISO C++ Compliance
@ 2007-01-17 20:57 Dave Brolley
0 siblings, 0 replies; only message in thread
From: Dave Brolley @ 2007-01-17 20:57 UTC (permalink / raw)
To: sid
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
Hi,
I've committed the attached patch which allows compilation with recent
more strict ISO C++ compliance by gcc. The typedef is referenced by an
inheriting class and, so, must be protected, not private.
Dave
[-- Attachment #2: sid.iso.ChangeLog --]
[-- Type: text/plain, Size: 118 bytes --]
2007-01-17 Dave Brolley <brolley@redhat.com>
* sidbusutil.h (value_control_register::ValueType): Now
protected.
[-- Attachment #3: sid.iso.patch.txt --]
[-- Type: text/plain, Size: 772 bytes --]
Index: sid/include/sidbusutil.h
===================================================================
RCS file: /cvs/src/src/sid/include/sidbusutil.h,v
retrieving revision 1.16
diff -c -p -r1.16 sidbusutil.h
*** sid/include/sidbusutil.h 2 Aug 2005 18:53:10 -0000 1.16
--- sid/include/sidbusutil.h 11 Jan 2007 19:10:33 -0000
*************** namespace sidutil
*** 730,736 ****
template <typename DataType>
class value_control_register: public control_register<DataType>
{
! private:
typedef typename DataType::value_type ValueType;
public:
--- 730,736 ----
template <typename DataType>
class value_control_register: public control_register<DataType>
{
! protected:
typedef typename DataType::value_type ValueType;
public:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-17 20:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-17 20:57 [patch][commit] ISO C++ Compliance Dave Brolley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).