Permalink
Browse files

fixed broken Mac build

  • Loading branch information...
1 parent f25ff87 commit 01736d5d1c0b5b1e2f3962547f712ee7671de6ff Eric Herrmann committed Mar 19, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/NpapiCore/NPJavascriptObject.h
  2. +1 −1 src/NpapiCore/NPObjectAPI.h
@@ -34,7 +34,7 @@ namespace FB { namespace Npapi {
NpapiBrowserHostPtr ptr(m_browser.lock());
if (!ptr) {
Invalidate();
- throw std::bad_cast("BrowserHost has shut down");
+ throw std::bad_cast();
}
return ptr;
}
@@ -54,7 +54,7 @@ namespace FB { namespace Npapi {
NpapiBrowserHostPtr getHost() const {
NpapiBrowserHostPtr ptr(m_browser.lock());
if (!ptr) {
- throw std::bad_cast("BrowserHost has shut down");
+ throw std::bad_cast();
}
return ptr;
}

0 comments on commit 01736d5

Please sign in to comment.