Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
9cc24166
Commit
9cc24166
authored
Nov 12, 2013
by
Gregory Czajkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert back changes and to create a single pull request for bin mode
parent
c5695691
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
format.h
format.h
+1
-7
No files found.
format.h
View file @
9cc24166
...
...
@@ -56,11 +56,9 @@
#endif
#ifdef __GNUC__
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wlong-long"
#endif
#endif
namespace
fmt
{
...
...
@@ -451,7 +449,6 @@ DEFINE_INT_FORMATTERS(int)
DEFINE_INT_FORMATTERS
(
long
)
DEFINE_INT_FORMATTERS
(
unsigned
)
DEFINE_INT_FORMATTERS
(
unsigned
long
)
DEFINE_INT_FORMATTERS
(
unsigned
long
long
)
template
<
typename
Char
>
class
BasicFormatter
;
...
...
@@ -492,7 +489,7 @@ class BasicFormatter;
template
<
typename
Char
>
class
BasicWriter
{
private:
enum
{
INLINE_BUFFER_SIZE
=
5
12
};
enum
{
INLINE_BUFFER_SIZE
=
5
00
};
mutable
internal
::
Array
<
Char
,
INLINE_BUFFER_SIZE
>
buffer_
;
// Output buffer.
friend
class
BasicFormatter
<
Char
>
;
...
...
@@ -1187,7 +1184,6 @@ class FormatInt {
*--
str_
=
'-'
;
}
explicit
FormatInt
(
unsigned
value
)
:
str_
(
FormatDecimal
(
value
))
{}
explicit
FormatInt
(
uint64_t
value
)
:
str_
(
FormatDecimal
(
value
))
{}
inline
const
char
*
c_str
()
const
{
return
str_
;
}
inline
std
::
string
str
()
const
{
return
str_
;
}
...
...
@@ -1240,9 +1236,7 @@ inline Formatter<Write> Print(StringRef format) {
}
#ifdef __GNUC__
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
# pragma GCC diagnostic pop
#endif
#endif
#endif // FORMAT_H_
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment