Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a8b94a45
Commit
a8b94a45
authored
Apr 24, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs/Traits: add `noexcept`
parent
f1b6deb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Traits.cxx
src/fs/Traits.cxx
+4
-4
No files found.
src/fs/Traits.cxx
View file @
a8b94a45
...
...
@@ -25,7 +25,7 @@
template
<
typename
Traits
>
typename
Traits
::
string
BuildPathImpl
(
typename
Traits
::
const_pointer_type
a
,
size_t
a_size
,
typename
Traits
::
const_pointer_type
b
,
size_t
b_size
)
typename
Traits
::
const_pointer_type
b
,
size_t
b_size
)
noexcept
{
assert
(
a
!=
nullptr
);
assert
(
b
!=
nullptr
);
...
...
@@ -50,7 +50,7 @@ BuildPathImpl(typename Traits::const_pointer_type a, size_t a_size,
template
<
typename
Traits
>
typename
Traits
::
const_pointer_type
GetBasePathImpl
(
typename
Traits
::
const_pointer_type
p
)
GetBasePathImpl
(
typename
Traits
::
const_pointer_type
p
)
noexcept
{
#if !CLANG_CHECK_VERSION(3,6)
/* disabled on clang due to -Wtautological-pointer-compare */
...
...
@@ -65,7 +65,7 @@ GetBasePathImpl(typename Traits::const_pointer_type p)
template
<
typename
Traits
>
typename
Traits
::
string
GetParentPathImpl
(
typename
Traits
::
const_pointer_type
p
)
GetParentPathImpl
(
typename
Traits
::
const_pointer_type
p
)
noexcept
{
#if !CLANG_CHECK_VERSION(3,6)
/* disabled on clang due to -Wtautological-pointer-compare */
...
...
@@ -87,7 +87,7 @@ GetParentPathImpl(typename Traits::const_pointer_type p)
template
<
typename
Traits
>
typename
Traits
::
const_pointer_type
RelativePathImpl
(
typename
Traits
::
const_pointer_type
base
,
typename
Traits
::
const_pointer_type
other
)
typename
Traits
::
const_pointer_type
other
)
noexcept
{
assert
(
base
!=
nullptr
);
assert
(
other
!=
nullptr
);
...
...
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