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

Make things compile with HHVM 3.12 #60

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ void VariantToBsonConverter::convertElement(bson_t *bson, const char *key, Varia
case KindOfDouble:
convertDouble(bson, key, v.toDouble());
break;
#if HIPPO_HHVM_VERSION >= 31200
case KindOfPersistentString:
#else
case KindOfStaticString:
#endif
case KindOfString:
convertString(bson, key, v.toString());
break;
Expand Down