Commit 7728549b authored by Kenton Varda's avatar Kenton Varda

Merge branch 'master' of github.com:sandstorm-io/capnproto

parents e8d41e47 7a6e73e6
...@@ -61,10 +61,6 @@ ClientHook::ClientHook() { ...@@ -61,10 +61,6 @@ ClientHook::ClientHook() {
setGlobalBrokenCapFactoryForLayoutCpp(brokenCapFactory); setGlobalBrokenCapFactoryForLayoutCpp(brokenCapFactory);
} }
void* ClientHook::getLocalServer(_::CapabilityServerSetBase& capServerSet) {
return nullptr;
}
// ======================================================================================= // =======================================================================================
Capability::Client::Client(decltype(nullptr)) Capability::Client::Client(decltype(nullptr))
......
...@@ -55,6 +55,11 @@ void setGlobalBrokenCapFactoryForLayoutCpp(BrokenCapFactory& factory) { ...@@ -55,6 +55,11 @@ void setGlobalBrokenCapFactoryForLayoutCpp(BrokenCapFactory& factory) {
const uint ClientHook::NULL_CAPABILITY_BRAND = 0; const uint ClientHook::NULL_CAPABILITY_BRAND = 0;
// Defined here rather than capability.c++ so that we can safely call isNull() in this file. // Defined here rather than capability.c++ so that we can safely call isNull() in this file.
void* ClientHook::getLocalServer(_::CapabilityServerSetBase& capServerSet) {
// Defined here rather than capability.c++ because otherwise building with -fsanitize=vptr fails.
return nullptr;
}
namespace _ { // private namespace _ { // private
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment