Skip to content

Commit

Permalink
Removed explicit inlining to fix virtual thunk bug
Browse files Browse the repository at this point in the history
Ie. "virtual thunk to facebook::fb303::FacebookBase::aliveSince()"
  • Loading branch information
cypres committed Nov 10, 2011
1 parent 6595f55 commit f15bb6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/fb303/cpp/FacebookBase.cpp
Expand Up @@ -27,7 +27,7 @@ FacebookBase::FacebookBase(std::string name) :
aliveSince_ = (int64_t) time(NULL); aliveSince_ = (int64_t) time(NULL);
} }


inline void FacebookBase::getName(std::string& _return) { void FacebookBase::getName(std::string& _return) {
_return = name_; _return = name_;
} }


Expand Down Expand Up @@ -118,7 +118,7 @@ int64_t FacebookBase::getCounter(const std::string& key) {
return rv; return rv;
} }


inline int64_t FacebookBase::aliveSince() { int64_t FacebookBase::aliveSince() {
return aliveSince_; return aliveSince_;
} }


0 comments on commit f15bb6b

Please sign in to comment.