Skip to content

Commit

Permalink
Handle some scoping issues in Conv.h under MSVC
Browse files Browse the repository at this point in the history
Summary: No idea why these are the only two places it complains about, but it does.
This just explicitly scopes them.
Closes #253

Reviewed By: @yfeldblum

Differential Revision: D2282985

Pulled By: @sgolemon
  • Loading branch information
Orvid authored and facebook-github-bot-9 committed Aug 12, 2015
1 parent aa6e886 commit 21f7a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions folly/Conv.h
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ typename std::enable_if<sizeof...(Ts) >= 3
typename detail::last_element<Ts...>::type
>::type>::value>::type
toAppend(const Ts&... vs) {
detail::toAppendStrImpl(vs...);
::folly::detail::toAppendStrImpl(vs...);
}

/**
Expand All @@ -834,7 +834,7 @@ typename std::enable_if<
typename detail::last_element<Ts...>::type
>::type>::value>::type
toAppendFit(const Ts&... vs) {
detail::reserveInTarget(vs...);
::folly::detail::reserveInTarget(vs...);
toAppend(vs...);
}

Expand Down

0 comments on commit 21f7a3c

Please sign in to comment.