Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
Akonadi
Commits
a0d615cb
Commit
a0d615cb
authored
Oct 29, 2020
by
Daniel Vrátil
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove C++14 construct from public header
parent
cd0f10af
Pipeline
#38995
failed with stage
in 60 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/core/attributefactory.h
src/core/attributefactory.h
+1
-1
No files found.
src/core/attributefactory.h
View file @
a0d615cb
...
...
@@ -50,7 +50,7 @@ public:
template
<
typename
T
>
inline
static
void
registerAttribute
()
{
static_assert
(
std
::
is_default_constructible
<
T
>::
value
,
"An Attribute must be default-constructible."
);
AttributeFactory
::
self
()
->
registerAttribute
(
std
::
make_
unique
<
T
>
()
);
AttributeFactory
::
self
()
->
registerAttribute
(
std
::
unique
_ptr
<
T
>
{
new
T
{}}
);
}
/**
...
...
Daniel Vrátil
🤖
@dvratil
mentioned in commit
261678d5
·
Oct 29, 2020
mentioned in commit
261678d5
mentioned in commit 261678d504a27d75eaa1d8b1730e837f39858952
Toggle commit list
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