Skip to content
Snippets Groups Projects
Commit 91028162 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

COMP: Add a ifdef gaurd for make_unique definition

parent afe976dc
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@
#include <vtkTriangleFilter.h>
#include <vtkUnstructuredGrid.h>
#ifndef _MSC_VER
namespace std
{
template<typename T, typename... Args>
......@@ -40,6 +41,7 @@ std::unique_ptr<T> make_unique(Args&&... args)
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
}
#endif
namespace imstk
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment