Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 9bc3820

Browse files
committed
Merged pull request #60
2 parents b10d730 + 9328311 commit 9bc3820

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bson.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ void VariantToBsonConverter::convertElement(bson_t *bson, const char *key, Varia
102102
case KindOfDouble:
103103
convertDouble(bson, key, v.toDouble());
104104
break;
105+
#if HIPPO_HHVM_VERSION >= 31200
106+
case KindOfPersistentString:
107+
#else
105108
case KindOfStaticString:
109+
#endif
106110
case KindOfString:
107111
convertString(bson, key, v.toString());
108112
break;

0 commit comments

Comments
 (0)