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
bc8bb41a
Commit
bc8bb41a
authored
Apr 24, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs/Path: add `noexcept`
parent
a8b94a45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Path.hxx
src/fs/Path.hxx
+5
-5
No files found.
src/fs/Path.hxx
View file @
bc8bb41a
...
...
@@ -39,7 +39,7 @@ class Path : public PathTraitsFS::Pointer {
using
Traits
=
PathTraitsFS
;
typedef
Traits
::
Pointer
Base
;
constexpr
Path
(
const_pointer_type
_value
)
:
Base
(
_value
)
{}
constexpr
Path
(
const_pointer_type
_value
)
noexcept
:
Base
(
_value
)
{}
public
:
/**
...
...
@@ -48,7 +48,7 @@ public:
*
* @see IsNull()
*/
constexpr
Path
(
std
::
nullptr_t
)
:
Base
(
nullptr
)
{}
constexpr
Path
(
std
::
nullptr_t
)
noexcept
:
Base
(
nullptr
)
{}
/**
* Copy a #Path object.
...
...
@@ -59,7 +59,7 @@ public:
* Create a new instance pointing to the specified path
* string.
*/
static
constexpr
Path
FromFS
(
const_pointer_type
fs
)
{
static
constexpr
Path
FromFS
(
const_pointer_type
fs
)
noexcept
{
return
Path
(
fs
);
}
...
...
@@ -72,7 +72,7 @@ public:
* Check if this is a "nulled" instance. A "nulled" instance
* must not be used.
*/
bool
IsNull
()
const
{
bool
IsNull
()
const
noexcept
{
return
Base
::
IsNull
();
}
...
...
@@ -81,7 +81,7 @@ public:
*
* @see IsNull()
*/
void
SetNull
()
{
void
SetNull
()
noexcept
{
*
this
=
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