Commit d28e3a68 authored by Sujin Philip's avatar Sujin Philip
Browse files

Fix implicit inheritance type compiler warning

Specify private inheritance explicitly to avoid a compiler warning:
class vtkAtomic : private vtk::atomic::detail::IntegralType<T>
parent f618a866
......@@ -65,7 +65,7 @@ public:
#endif // __WRAP__
template <typename T> class vtkAtomic : vtk::atomic::detail::IntegralType<T>
template <typename T> class vtkAtomic : private vtk::atomic::detail::IntegralType<T>
{
private:
typedef detail::AtomicOps<sizeof(T)> Impl;
......
......@@ -352,7 +352,7 @@ public:
}
#endif // __WRAP__
template <typename T> class vtkAtomic : vtk::atomic::detail::IntegralType<T>
template <typename T> class vtkAtomic : private vtk::atomic::detail::IntegralType<T>
{
private:
typedef detail::AtomicOps<sizeof(T)> Impl;
......
......@@ -25,7 +25,7 @@
#include <cstddef>
template <typename T> class vtkAtomic : vtk::atomic::detail::IntegralType<T>
template <typename T> class vtkAtomic : private vtk::atomic::detail::IntegralType<T>
{
public:
vtkAtomic()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment