X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Ftestsuite%2Futil%2Ftestsuite_rvalref.h;h=b44d6ddd12d5071fae46af8672d9bd81c99bb37c;hb=09c759aaf6da911aa1a44898d2b84121991bced9;hp=4e2f59c48f4dbd3aea2b058664d06ed65ee1c979;hpb=6bc9506f51c864af73250f5e6c99da261bd98b11;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libstdc++-v3/testsuite/util/testsuite_rvalref.h b/libstdc++-v3/testsuite/util/testsuite_rvalref.h index 4e2f59c48f4..b44d6ddd12d 100644 --- a/libstdc++-v3/testsuite/util/testsuite_rvalref.h +++ b/libstdc++-v3/testsuite/util/testsuite_rvalref.h @@ -35,19 +35,9 @@ namespace __gnu_test bool operator=(const rvalstruct&); -// Normally we don't define a copy constructor, as any use of it would -// show an inefficency. In some cases we know it will be aliased away -// by the compiler, but it still insists it is defined, so we provide -// a way of making it public but not giving a body, so any usage would -// instead fail at link-time. -#ifdef _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING - public: - rvalstruct(const rvalstruct&); -#else rvalstruct(const rvalstruct&); public: -#endif int val; bool valid;