Skip to content

Commit

Permalink
Fix a warning and remove extra newline
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Dec 5, 2015
1 parent e567fe6 commit e0179ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions format.h
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ class BasicCharTraits {
#else
typedef Char *CharPtr;
#endif
static Char cast(wchar_t value) { return static_cast<Char>(value); }
static Char cast(int value) { return static_cast<Char>(value); }
};

template <typename Char>
Expand Down Expand Up @@ -1624,7 +1624,6 @@ inline StrFormatSpec<wchar_t> pad(
return StrFormatSpec<wchar_t>(str, width, fill);
}


namespace internal {

template <typename Char>
Expand Down

0 comments on commit e0179ee

Please sign in to comment.