From 5b78e0da1d64b6096829f54b29f14ec5643b5ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Fri, 15 May 2015 16:00:32 +0200 Subject: Async: rename Async namespace to KAsync --- async/src/async_impl.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'async/src/async_impl.h') diff --git a/async/src/async_impl.h b/async/src/async_impl.h index 8c74193..5b4e393 100644 --- a/async/src/async_impl.h +++ b/async/src/async_impl.h @@ -1,5 +1,5 @@ /* - * Copyright 2014 Daniel Vrátil + * Copyright 2014 - 2015 Daniel Vrátil * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public License as @@ -15,13 +15,13 @@ * along with this library. If not, see . */ -#ifndef ASYNC_IMPL_H -#define ASYNC_IMPL_H +#ifndef KASYNC_IMPL_H +#define KASYNC_IMPL_H #include "async.h" #include -namespace Async { +namespace KAsync { namespace detail { @@ -48,34 +48,34 @@ struct prevOut { template inline typename std::enable_if::value, void>::type -copyFutureValue(const Async::Future &in, Async::Future &out) +copyFutureValue(const KAsync::Future &in, KAsync::Future &out) { out.setValue(in.value()); } template inline typename std::enable_if::value, void>::type -copyFutureValue(const Async::Future &in, Async::Future &out) +copyFutureValue(const KAsync::Future &in, KAsync::Future &out) { // noop } template inline typename std::enable_if::value, void>::type -aggregateFutureValue(const Async::Future &in, Async::Future &out) +aggregateFutureValue(const KAsync::Future &in, KAsync::Future &out) { out.setValue(out.value() + in.value()); } template inline typename std::enable_if::value, void>::type -aggregateFutureValue(const Async::Future &in, Async::Future &out) +aggregateFutureValue(const KAsync::Future &in, KAsync::Future &out) { // noop } } // namespace Detail -} // namespace Async +} // namespace KAsync -#endif // ASYNC_IMPL_H +#endif // KASYNC_IMPL_H -- cgit v1.2.3