Skip to content

Commit 5e10784

Browse files
committed
Fixup the WDDX fix to compile against older HHVM.
1 parent dca8376 commit 5e10784

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

hphp/runtime/ext/wddx/ext_wddx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "hphp/runtime/ext/extension.h"
2222
#include "hphp/runtime/base/string-buffer.h"
23+
#include "hphp/util/either.h"
2324

2425
namespace HPHP {
2526

hphp/util/either.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ struct Either {
169169
* Returns whether this Either contains neither left nor right.
170170
*/
171171
bool isNull() const { return !(bits & ~TagBit); }
172+
uintptr_t toOpaque() const { return bits; }
172173

173174
private:
174175
static_assert(

0 commit comments

Comments
 (0)