Permalink
Browse files

Removed explicit inlining to fix virtual thunk bug

Ie. "virtual thunk to facebook::fb303::FacebookBase::aliveSince()"
  • Loading branch information...
1 parent 6595f55 commit f15bb6bcecddc3e0f383376f5966f550624e60e1 @duedal duedal committed Nov 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 contrib/fb303/cpp/FacebookBase.cpp
@@ -27,7 +27,7 @@ FacebookBase::FacebookBase(std::string name) :
aliveSince_ = (int64_t) time(NULL);
}
-inline void FacebookBase::getName(std::string& _return) {
+void FacebookBase::getName(std::string& _return) {
_return = name_;
}
@@ -118,7 +118,7 @@ int64_t FacebookBase::getCounter(const std::string& key) {
return rv;
}
-inline int64_t FacebookBase::aliveSince() {
+int64_t FacebookBase::aliveSince() {
return aliveSince_;
}

0 comments on commit f15bb6b

Please sign in to comment.