Skip to content

Commit

Permalink
Merge pull request #867 from leapmotion/fix_warning
Browse files Browse the repository at this point in the history
fix xcode warning
  • Loading branch information
codemercenary committed Mar 29, 2016
2 parents cdf6675 + 50efd9c commit 86a51ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/autowiring/DispatchQueue.cpp
Expand Up @@ -11,8 +11,8 @@ DispatchQueue::DispatchQueue(size_t dispatchCap):
{}

DispatchQueue::DispatchQueue(DispatchQueue&& q):
m_dispatchCap(q.m_dispatchCap),
onAborted(std::move(q.onAborted))
onAborted(std::move(q.onAborted)),
m_dispatchCap(q.m_dispatchCap)
{
if (!onAborted)
*this += std::move(q);
Expand Down
4 changes: 2 additions & 2 deletions src/autowiring/config_descriptor.h
Expand Up @@ -45,8 +45,8 @@ namespace autowiring {
config_field(const char* name, U T::* memptr) :
name(name),
offset(reinterpret_cast<size_t>(&(static_cast<T*>(nullptr)->*memptr))),
marshaller{ &get_marshaller<U>() },
default_value(std::make_shared<typename std::remove_cv<U>::type>())
default_value(std::make_shared<typename std::remove_cv<U>::type>()),
marshaller{ &get_marshaller<U>() }
{}

// Name and optional description
Expand Down

0 comments on commit 86a51ac

Please sign in to comment.