Skip to content

Commit 3eda8a6

Browse files
authored
Merge pull request open-source-parsers#491 from mwiesenberger/0.y.z
workaround for cuda 7.5 nvcc compiler
2 parents 5ec82e4 + 0e3fffd commit 3eda8a6

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)