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

Commit 9328311

Browse files
committed
Make things compile with HHVM 3.12
1 parent b10d730 commit 9328311

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)