Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
86c6296b
Commit
86c6296b
authored
Jan 29, 2021
by
Nicolas Fella
Browse files
Add missing noexcept to fix clang build
parent
5df9b40e
Changes
1
Hide whitespace changes
Inline
Side-by-side
libnotificationmanager/notification.cpp
View file @
86c6296b
...
@@ -443,7 +443,7 @@ Notification::Notification(const Notification &other)
...
@@ -443,7 +443,7 @@ Notification::Notification(const Notification &other)
{
{
}
}
Notification
::
Notification
(
Notification
&&
other
)
Notification
::
Notification
(
Notification
&&
other
)
noexcept
:
d
(
other
.
d
)
:
d
(
other
.
d
)
{
{
other
.
d
=
nullptr
;
other
.
d
=
nullptr
;
...
@@ -455,7 +455,7 @@ Notification &Notification::operator=(const Notification &other)
...
@@ -455,7 +455,7 @@ Notification &Notification::operator=(const Notification &other)
return
*
this
;
return
*
this
;
}
}
Notification
&
Notification
::
operator
=
(
Notification
&&
other
)
Notification
&
Notification
::
operator
=
(
Notification
&&
other
)
noexcept
{
{
d
=
other
.
d
;
d
=
other
.
d
;
other
.
d
=
nullptr
;
other
.
d
=
nullptr
;
...
...
Nicolas Fella
@nicolasfella
mentioned in merge request
!611 (closed)
·
Jan 29, 2021
mentioned in merge request
!611 (closed)
mentioned in merge request !611
Toggle commit list
Write
Preview
Supports
Markdown
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