Skip to content

Commit

Permalink
Fixup the WDDX fix to compile against older HHVM.
Browse files Browse the repository at this point in the history
  • Loading branch information
Orvid committed Aug 2, 2016
1 parent d857d4e commit 811bc69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions hphp/runtime/ext/wddx/ext_wddx.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "hphp/runtime/ext/extension.h"
#include "hphp/runtime/base/string-buffer.h"
#include "hphp/util/either.h"

namespace HPHP {

Expand Down
1 change: 1 addition & 0 deletions hphp/util/either.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ struct Either {
* Returns whether this Either contains neither left nor right.
*/
bool isNull() const { return !(bits & ~TagBit); }
uintptr_t toOpaque() const { return bits; }

private:
static_assert(
Expand Down

0 comments on commit 811bc69

Please sign in to comment.