Re: [Live-devel] [patch] use const_cast instead of C casting

2008-07-08 Thread Erik Hovland
On Tue, Jul 08, 2008 at 09:24:39AM -0700, Ross Finlayson wrote: > This is one patch that I won't be adding, because I want the code to > work even with older compilers that might not understand "const_char" ( > or even templates). Not a problem. Thanks for the quick feedback. E -- Erik Hovla

Re: [Live-devel] [patch] use const_cast instead of C casting

2008-07-08 Thread Ross Finlayson
This is one patch that I won't be adding, because I want the code to work even with older compilers that might not understand "const_char" ( or even templates). Ross. -- Sent from my jesusPhone On Jul 8, 2008, at 9:03 AM, Erik Hovland <[EMAIL PROTECTED]> wrote: In C++ it is

[Live-devel] [patch] use const_cast instead of C casting

2008-07-08 Thread Erik Hovland
In C++ it is preferred to control constness by using const_cast instead of the C casting syntax. This patch does that in a couple of places. E --- liveMedia/QuickTimeGenericRTPSource.cpp |2 +- liveMedia/SimpleRTPSource.cpp |2 +- 2 files changed, 2 insertions(+), 2 deletions(