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
PIM
KSmtp
Commits
ae180170
Commit
ae180170
authored
Oct 08, 2021
by
Laurent Montel
😁
Browse files
Use unique_ptr
parent
03b8ec6b
Pipeline
#86876
passed with stage
in 3 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/job.cpp
View file @
ae180170
...
...
@@ -27,10 +27,7 @@ Job::Job(JobPrivate &dd)
{
}
Job
::~
Job
()
{
delete
d_ptr
;
}
Job
::~
Job
()
=
default
;
Session
*
Job
::
session
()
const
{
...
...
src/job.h
View file @
ae180170
...
...
@@ -44,7 +44,7 @@ protected:
explicit
Job
(
Session
*
session
);
explicit
Job
(
JobPrivate
&
dd
);
JobPrivate
*
const
d_ptr
;
std
::
unique_ptr
<
JobPrivate
>
const
d_ptr
;
};
}
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