[PATCH][libstdc++-v3 parallel mode] Make settings getter return non-const object

Johannes Singler singler@ira.uka.de
Wed Mar 19 15:08:00 GMT 2008


This patch makes the getter method for the parallel mode settings 
structure return a non-const object, so it can be directly modified, 
which is much more convenient for the library user.
AFAIK this does not change library binary compatibility, does it?

Tested x86_64-unknown-linux-gnu: No regressions

Please comment and/or approve.

2007-03-19  Johannes Singler  <singler@ira.uka.de>

         * src/parallel_settings.cc: Removed const for getter.
         * include/parallel/settings.h: Removed const for getter.

Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unconst_settings.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080319/686bf9f3/attachment.bin>


More information about the Libstdc++ mailing list