04-19-2014, 08:53 PM
New error appears:
[ 0%] Building CXX object CMakeFiles/rpcs3.dir/Emu/CPU/CPUThreadManager.cpp.o
In file included from /home/patrik/rpcs3/rpcs3/stdafx.h:279:0,
from /home/patrik/rpcs3/rpcs3/Emu/CPU/CPUThreadManager.cpp:1:
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h: In instantiation of ‘ID_TYPE IdManager::GetNewID(const string&, T*, u32) [with T = CPUThread; ID_TYPE = unsigned int; std:tring = std::basic_string<char>; u32 = unsigned int]’:
/home/patrik/rpcs3/rpcs3/Emu/CPU/CPUThreadManager.cpp:39:121: required from here
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h:116:22: error: use of deleted function ‘ID& ID::operator=(const ID&)’
m_id_map[m_cur_id] = std::move(ID(name, data, attr));
^
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h:35:8: note: ‘ID& ID::operator=(const ID&)’ is implicitly declared as deleted because ‘ID’ declares a move constructor or move assignment operator
struct ID
^
make[2]: *** [CMakeFiles/rpcs3.dir/Emu/CPU/CPUThreadManager.cpp.o] Error 1
make[1]: *** [CMakeFiles/rpcs3.dir/all] Error 2
make: *** [all] Error 2
[ 0%] Building CXX object CMakeFiles/rpcs3.dir/Emu/CPU/CPUThreadManager.cpp.o
In file included from /home/patrik/rpcs3/rpcs3/stdafx.h:279:0,
from /home/patrik/rpcs3/rpcs3/Emu/CPU/CPUThreadManager.cpp:1:
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h: In instantiation of ‘ID_TYPE IdManager::GetNewID(const string&, T*, u32) [with T = CPUThread; ID_TYPE = unsigned int; std:tring = std::basic_string<char>; u32 = unsigned int]’:
/home/patrik/rpcs3/rpcs3/Emu/CPU/CPUThreadManager.cpp:39:121: required from here
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h:116:22: error: use of deleted function ‘ID& ID::operator=(const ID&)’
m_id_map[m_cur_id] = std::move(ID(name, data, attr));
^
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h:35:8: note: ‘ID& ID::operator=(const ID&)’ is implicitly declared as deleted because ‘ID’ declares a move constructor or move assignment operator
struct ID
^
make[2]: *** [CMakeFiles/rpcs3.dir/Emu/CPU/CPUThreadManager.cpp.o] Error 1
make[1]: *** [CMakeFiles/rpcs3.dir/all] Error 2
make: *** [all] Error 2