fix warning: for clang

This commit is contained in:
bolero-MURAKAMI 2013-08-09 20:04:27 +09:00
parent baf8995e81
commit c22735b212
2 changed files with 12 additions and 2 deletions

View file

@ -79,7 +79,7 @@ namespace sprout {
typedef sprout::detail::string_construct_access<T, (M - 1) + N, Traits> access_type;
return access_type::raw_construct(
lsize + rsize,
(Indexes < lsize ? lhs[Indexes]
(Indexes < lsize ? *(lhs + Indexes)
: Indexes < lsize + rsize ? rhs[Indexes - lsize]
: T()
)...