Bug #1506

call to implicitly-deleted copy constructor of 'ControlAspectPtr'

Added by Anonymous about 11 years ago. Updated almost 11 years ago.

Status:NewStart date:05/22/2013
Priority:NormalDue date:
Assignee:-% Done:


Category:-Estimated time:1.00 hour
Target version:rci0.4


Building RCI trunk with Clang 4.2.0:

In file included from /Users/jenkins/workspace/rci-trunk-macos/label/MAC_OS_lion_64bit/rci/src/rci/ControlMode.cpp:27:
/Users/jenkins/workspace/rci-trunk-macos/label/MAC_OS_lion_64bit/rci/src/rci/ControlMode.h:156:34: error: call to implicitly-deleted copy constructor of 'ControlAspectPtr' (aka 'shared_ptr<rci::ControlAspect>')
        "Inactive / no Control", noControl);
/opt/local/include/boost/smart_ptr/shared_ptr.hpp:343:5: note: copy constructor is implicitly deleted because 'shared_ptr<rci::ControlAspect>' has a user-declared move constructor
    shared_ptr( shared_ptr && r ): px( r.px ), pn() // never throws
/Users/jenkins/workspace/rci-trunk-macos/label/MAC_OS_lion_64bit/rci/src/rci/ControlMode.h:114:69: note: passing argument to parameter 'aspect' here
    static ControlModePtr create(std::string name, ControlAspectPtr aspect);


Related issues

Related to Robot Control Interface - Bug #1374: RCI trunk doesn't build on Mac Resolved 01/30/2013

Associated revisions

Revision 682
Added by anordman about 11 years ago

Explicitly declare copy constructor for Control Aspect

refs #1506


#1 Updated by Anonymous almost 11 years ago

  • Target version set to rci0.4

Also available in: Atom PDF