mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 16:25:54 +08:00
refs #800 Removed redundant semi-colons, etc.
This commit is contained in:
committed by
Klaus Basan
parent
429c6946c6
commit
1f54bbc0d5
@@ -124,7 +124,6 @@ namespace BlackGui
|
|||||||
case InfoAreaTextMessages:
|
case InfoAreaTextMessages:
|
||||||
case InfoAreaWeather:
|
case InfoAreaWeather:
|
||||||
return QSize(600, 400);
|
return QSize(600, 400);
|
||||||
break;
|
|
||||||
case InfoAreaFlightPlan:
|
case InfoAreaFlightPlan:
|
||||||
return QSize(625, 500);
|
return QSize(625, 500);
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -280,13 +280,13 @@ namespace BlackMisc
|
|||||||
LockFreeUniqueWriter<T> uniqueWrite()
|
LockFreeUniqueWriter<T> uniqueWrite()
|
||||||
{
|
{
|
||||||
return { Private::atomic_load(&m_ptr), &m_ptr };
|
return { Private::atomic_load(&m_ptr), &m_ptr };
|
||||||
};
|
}
|
||||||
|
|
||||||
//! Return an object which can write a new value, even if there are other writes.
|
//! Return an object which can write a new value, even if there are other writes.
|
||||||
LockFreeSharedWriter<T> sharedWrite()
|
LockFreeSharedWriter<T> sharedWrite()
|
||||||
{
|
{
|
||||||
return { Private::atomic_load(&m_ptr), &m_ptr };
|
return { Private::atomic_load(&m_ptr), &m_ptr };
|
||||||
};
|
}
|
||||||
|
|
||||||
//! Pass the current value to the functor inspector, and return whatever inspector returns.
|
//! Pass the current value to the functor inspector, and return whatever inspector returns.
|
||||||
template <typename F>
|
template <typename F>
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ namespace BlackMisc
|
|||||||
I m_begin;
|
I m_begin;
|
||||||
I m_end;
|
I m_end;
|
||||||
|
|
||||||
void check(...) {};
|
void check(...) {}
|
||||||
template <class I2, class F> void check(Iterators::ConditionalIterator<I2, F> *begin, Iterators::ConditionalIterator<I2, F> *end)
|
template <class I2, class F> void check(Iterators::ConditionalIterator<I2, F> *begin, Iterators::ConditionalIterator<I2, F> *end)
|
||||||
{
|
{
|
||||||
begin->checkEnd(*end);
|
begin->checkEnd(*end);
|
||||||
|
|||||||
Reference in New Issue
Block a user