We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca8376 commit 5e10784Copy full SHA for 5e10784
hphp/runtime/ext/wddx/ext_wddx.h
@@ -20,6 +20,7 @@
20
21
#include "hphp/runtime/ext/extension.h"
22
#include "hphp/runtime/base/string-buffer.h"
23
+#include "hphp/util/either.h"
24
25
namespace HPHP {
26
hphp/util/either.h
@@ -169,6 +169,7 @@ struct Either {
169
* Returns whether this Either contains neither left nor right.
170
*/
171
bool isNull() const { return !(bits & ~TagBit); }
172
+ uintptr_t toOpaque() const { return bits; }
173
174
private:
175
static_assert(
0 commit comments