Skip to content

Commit 0e3fffd

Browse files
MatthiasMatthias
authored andcommitted
workaround for cuda 7.5 nvcc compiler
1 parent 5ec82e4 commit 0e3fffd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/json/value.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,12 @@ class JSON_API Value {
216216
static const UInt64 maxUInt64;
217217
#endif // defined(JSON_HAS_INT64)
218218

219+
//MW: workaround for bug in NVIDIAs CUDA 7.5 nvcc compiler
220+
#ifdef __NVCC__
221+
public:
222+
#else
219223
private:
224+
#endif //__NVCC__
220225
#ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION
221226
class CZString {
222227
public:

0 commit comments

Comments
 (0)