In file included from main.cpp:2:0:
SmartPointer.hpp: In instantiation of 'const value_type& smart_pointer::SmartPointer<T, Allocator>::operator*() const [with T = float; Allocator = std::allocator<float>; smart_pointer::SmartPointer<T, Allocator>::value_type = float]':
Test_SmartPointer.hpp:233:9: required from here
SmartPointer.hpp:69:20: error: reference to local variable 'f' returned [-Werror=return-local-addr]
auto const f = *core->p;
^
cc1plus: all warnings being treated as errors
|
Файлы на сервере и клиенте не совпали
(3 188 b)
|