Re: svn commit: r726012 - /stdcxx/branches/4.2.x/tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: svn commit: r726012 - /stdcxx/branches/4.2.x/tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp

by Martin Sebor-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks! I need to remember this one...

Martin

faridz@... wrote:

> Author: faridz
> Date: Fri Dec 12 06:18:43 2008
> New Revision: 726012
>
> URL: http://svn.apache.org/viewvc?rev=726012&view=rev
> Log:
> 2008-12-12  Farid Zaripov  <faridz@...>
>
> * tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp (main): Avoid
> using unnamed struct (see STDCXX-719).
>
> Modified:
>     stdcxx/branches/4.2.x/tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp
>
> Modified: stdcxx/branches/4.2.x/tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp
> URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp?rev=726012&r1=726011&r2=726012&view=diff
> ==============================================================================
> --- stdcxx/branches/4.2.x/tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp (original)
> +++ stdcxx/branches/4.2.x/tests/regress/27.streambuf.sgetn.stdcxx-1026.cpp Fri Dec 12 06:18:43 2008
> @@ -34,7 +34,7 @@
>  {
>      static int x = '0';
>  
> -    struct: std::streambuf {
> +    struct MyBuf : std::streambuf {
>          // unbuffered, always successfully reads one character
>          int_type underflow () {
>              assert (gptr () == egptr ());
>
>
>