Skip to content

Commit

Permalink
fixed broken Mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Herrmann authored and taxilian committed Mar 19, 2011
1 parent c08c6c1 commit 9bb33d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NpapiCore/NPJavascriptObject.h
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/NpapiCore/NPObjectAPI.h
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9bb33d8

Please sign in to comment.