#1254 testbasicgeometrydoes not compile since rev. 390 (AffineGeometry)
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Feb 18, 2013 08:49 |
Type | Bug Report |
Version | 2.2 |
Operating System | Linux |
Last edited by | Markus Blatt (markus@dr-blatt.de) |
Last edited at | Feb 18, 2013 10:35 |
Closed by | Markus Blatt (markus@dr-blatt.de) |
Closed at | Feb 18, 2013 10:35 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | in rev. 397 |
Description
In this changeset the internal Storage class was removed. Obviously this broke the default assignment operator:
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../../.. -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common -I../../../.. -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common -g -O2 -MT testbasicgeometry.o -MD -MP -MF .deps/testbasicgeometry.Tpo -c -o testbasicgeometry.o testbasicgeometry.cc In file included from ../../../../dune/geometry/referenceelements.hh:15, from ../../../../dune/geometry/genericgeometry/test/checkgeometry.hh:13, from testbasicgeometry.cc:24: ../../../../dune/geometry/affinegeometry.hh: In member function ‘Dune::AffineGeometry<double, 0, 0>& Dune::AffineGeometry<double, 0, 0>::operator=(const Dune::AffineGeometry<double, 0, 0>&)’: ../../../../dune/geometry/affinegeometry.hh:30: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, _Args&& ...) [with _Args = const Dune::AffineGeometry<double, 0, 0>&, _Tp = Dune::AffineGeometry<double, 0, 0>, _Alloc = std::allocator<Dune::AffineGeometry<double, 0, 0> >]’ /usr/include/c++/4.4/bits/stl_vector.h:741: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Dune::AffineGeometry<double, 0, 0>, Alloc = std::allocator<Dune::AffineGeometry<double, 0, 0> >]’ ../../../../dune/geometry/referenceelements.hh:467: instantiated from ‘static void Dune::ReferenceElement<ctype, dim>::CreateGeometries::apply(const Dune::ReferenceElement<ctype, dim>&, Dune::GenericGeometry::CodimTable<Dune::ReferenceElement<ctype, dim>::GeometryArray, dim>&) [with int codim = 0, ctype = double, int dim = 0]’ ../../../../dune/geometry/referenceelements.hh:335: instantiated from ‘void Dune::ReferenceElement<ctype, dim>::initializeTopology(unsigned int) [with ctype = double, int dim = 0]’ ../../../../dune/geometry/referenceelements.hh:489: instantiated from ‘Dune::ReferenceElementContainer<ctype, dim>::ReferenceElementContainer() [with ctype = double, int dim = 0]’ ../../../../dune/geometry/referenceelements.hh:568: instantiated from ‘static const Dune::ReferenceElementContainer<ctype, dim>& Dune::ReferenceElements<ctype, dim>::container() [with ctype = double, int dim = 0]’ ../../../../dune/geometry/referenceelements.hh:547: instantiated from ‘static const Dune::ReferenceElement<ctype, dim>& Dune::ReferenceElements<ctype, dim>::general(const Dune::GeometryType&) [with ctype = double, int dim = 0]’ ../../../../dune/geometry/genericgeometry/test/checkgeometry.hh:64: instantiated from ‘bool Dune::checkGeometry(const TestGeometry&) [with TestGeometry = main(int, char**)::ElementGeometry]’ testbasicgeometry.cc:133: instantiated from here ../../../../dune/geometry/affinegeometry.hh:30: error: non-static reference member ‘const Dune::ReferenceElement<double, 0>& Dune::AffineGeometry<double, 0, 0>::refElement’, can't use default assignment operator In file included from /usr/include/c++/4.4/vector:69,
For more details see the complete log at http://plagula.de:8010/builders/dune-geometry%20test/builds/59/steps/check/logs/stdio
Tested with g++-4.4