mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Trying to fix some Linux & OSX compilation issues.
This commit is contained in:
1 parent
211d1ee1e3
commit
7c732c7482
2 files changed
+3
-1
No files matched your search
@@ -555,7 +555,8 @@ template<typename T> std::shared_ptr<const T>& ImmutableObjectHistory<T>::share
|
||||
std::istringstream iss(m_serialized);
|
||||
{
|
||||
Slic3r::UndoRedo::InputArchive archive(stack, iss);
|
||||
std::unique_ptr<std::remove_const<T>::type> mesh(new std::remove_const<T>::type());
|
||||
typedef typename std::remove_const<T>::type Type;
|
||||
std::unique_ptr<Type> mesh(new Type());
|
||||
archive(*mesh.get());
|
||||
m_shared_object = std::move(mesh);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user