mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Use enum trick to get around problem of undefined static variable.
This commit is contained in:
parent
c2d926fa49
commit
3d3965b87f
@ -31,7 +31,7 @@ namespace {
|
||||
template<int N>
|
||||
struct TestClass
|
||||
{
|
||||
static const int NUMBER = N;
|
||||
enum { NUMBER = N };
|
||||
};
|
||||
|
||||
struct TestListTag1
|
||||
|
Loading…
Reference in New Issue
Block a user