mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 18:10:27 +01:00
CZString as public when using NVCC, see issue #486
This commit is contained in:
parent
72f6cc7fd0
commit
798f6ba055
@ -220,7 +220,14 @@ public:
|
|||||||
static const UInt64 maxUInt64;
|
static const UInt64 maxUInt64;
|
||||||
#endif // defined(JSON_HAS_INT64)
|
#endif // defined(JSON_HAS_INT64)
|
||||||
|
|
||||||
|
// Workaround for bug in the NVIDIAs CUDA 9.1 nvcc compiler
|
||||||
|
// when using gcc and clang backend compilers. CZString
|
||||||
|
// cannot be defined as private. See issue #486
|
||||||
|
#ifdef __NVCC__
|
||||||
|
public:
|
||||||
|
#else
|
||||||
private:
|
private:
|
||||||
|
#endif
|
||||||
#ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION
|
#ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION
|
||||||
class CZString {
|
class CZString {
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user