Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
d8ef452e
Commit
d8ef452e
authored
Aug 17, 2017
by
Alex Choi
Committed by
Andrew Twyman
Aug 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing std:: in platform_threads_impl (#321)
parent
e54dab66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
extension-libs/platform-threads/cpp/platform_threads_impl.hpp
...nsion-libs/platform-threads/cpp/platform_threads_impl.hpp
+2
-2
No files found.
extension-libs/platform-threads/cpp/platform_threads_impl.hpp
View file @
d8ef452e
...
@@ -48,7 +48,7 @@ public:
...
@@ -48,7 +48,7 @@ public:
* it starts, before calling the normal ThreadFunc.
* it starts, before calling the normal ThreadFunc.
*/
*/
CppPlatformThreadsGeneric
(
std
::
function
<
void
()
>
func_on_thread_start
)
CppPlatformThreadsGeneric
(
std
::
function
<
void
()
>
func_on_thread_start
)
:
m_func_on_thread_start
(
make_shared
<
std
::
function
<
void
()
>>
(
std
::
move
(
func_on_thread_start
)))
{}
:
m_func_on_thread_start
(
std
::
make_shared
<
std
::
function
<
void
()
>>
(
std
::
move
(
func_on_thread_start
)))
{}
/** Creates and starts a new thread which will call the given function. */
/** Creates and starts a new thread which will call the given function. */
virtual
void
create_thread
(
const
std
::
string
&
/*name*/
,
virtual
void
create_thread
(
const
std
::
string
&
/*name*/
,
...
@@ -74,7 +74,7 @@ public:
...
@@ -74,7 +74,7 @@ public:
}
}
private:
private:
const
shared_ptr
<
std
::
function
<
void
()
>>
m_func_on_thread_start
;
const
s
td
::
s
hared_ptr
<
std
::
function
<
void
()
>>
m_func_on_thread_start
;
};
};
/**
/**
...
...
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