refs #800 Removed redundant semi-colons, etc.

This commit is contained in:
Mathew Sutcliffe
2016-11-10 00:44:15 +00:00
committed by Klaus Basan
parent 429c6946c6
commit 1f54bbc0d5
3 changed files with 3 additions and 4 deletions

View File

@@ -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:

View File

@@ -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>

View File

@@ -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);