Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FooRef::FooRef( const FooRef & other )
- :m_container(std::move(other.m_container))
- //:m_container(uptr( new ShapeContainer(other.m_container)) )
- {
- }
- 1>------ Build started: Project: khipu, Configuration: Debug x64 ------
- 1> shape.cpp
- 1>src\shape.cpp(91): error C2248: 'std::unique_ptr<_Ty>::unique_ptr' : cannot access private member declared in class 'std::unique_ptr<_Ty>'
- 1> with
- 1> [
- 1> _Ty=ShapeContainer
- 1> ]
- 1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory(2347) : see declaration of 'std::unique_ptr<_Ty>::unique_ptr'
- 1> with
- 1> [
- 1> _Ty=ShapeContainer
- 1> ]
- ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment