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
2def9e4c
Commit
2def9e4c
authored
Sep 22, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove FMT_DTOR_NOEXCEPT
parent
ff6e46ed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
include/fmt/core.h
include/fmt/core.h
+0
-7
include/fmt/posix.h
include/fmt/posix.h
+2
-2
No files found.
include/fmt/core.h
View file @
2def9e4c
...
...
@@ -138,13 +138,6 @@
# endif
#endif
// GCC still uses throw() in its headers when exceptions are disabled.
#if FMT_GCC_VERSION
# define FMT_DTOR_NOEXCEPT FMT_DETECTED_NOEXCEPT
#else
# define FMT_DTOR_NOEXCEPT FMT_NOEXCEPT
#endif
#ifndef FMT_BEGIN_NAMESPACE
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \
FMT_MSC_VER >= 1900
...
...
include/fmt/posix.h
View file @
2def9e4c
...
...
@@ -137,7 +137,7 @@ class buffered_file {
buffered_file
()
FMT_NOEXCEPT
:
file_
(
FMT_NULL
)
{}
// Destroys the object closing the file it represents if any.
FMT_API
~
buffered_file
()
FMT_
DTOR_
NOEXCEPT
;
FMT_API
~
buffered_file
()
FMT_NOEXCEPT
;
private:
buffered_file
(
const
buffered_file
&
)
=
delete
;
...
...
@@ -223,7 +223,7 @@ class file {
}
// Destroys the object closing the file it represents if any.
FMT_API
~
file
()
FMT_
DTOR_
NOEXCEPT
;
FMT_API
~
file
()
FMT_NOEXCEPT
;
// Returns the file descriptor.
int
descriptor
()
const
FMT_NOEXCEPT
{
return
fd_
;
}
...
...
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