From 5dca2a965490bd53fa00ac2d8c612b0653eb9fa7 Mon Sep 17 00:00:00 2001 From: Lukasz Wojciechowski Date: Tue, 14 Oct 2014 14:45:27 +0200 Subject: [PATCH] Move TryCatch from client-common to common library TryCatch can be used also in admin libraries, so it belongs to common library now. Change-Id: Ibdd9c1576b9b34195555c2d9b43e72b57a83a201 --- src/{client-common => common}/exceptions/TryCatch.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) rename src/{client-common => common}/exceptions/TryCatch.h (88%) diff --git a/src/client-common/exceptions/TryCatch.h b/src/common/exceptions/TryCatch.h similarity index 88% rename from src/client-common/exceptions/TryCatch.h rename to src/common/exceptions/TryCatch.h index 08b93d9..b1ef172 100644 --- a/src/client-common/exceptions/TryCatch.h +++ b/src/common/exceptions/TryCatch.h @@ -14,14 +14,14 @@ * limitations under the License */ /** - * @file src/client-common/exceptions/TryCatch.h + * @file src/common/exceptions/TryCatch.h * @author Marcin Niesluchowski * @version 1.0 * @brief This file contains functions for catching exceptions */ -#ifndef SRC_CLIENT_COMMON_EXCEPTIONS_TRYCATCH_H_ -#define SRC_CLIENT_COMMON_EXCEPTIONS_TRYCATCH_H_ +#ifndef SRC_COMMON_EXCEPTIONS_TRYCATCH_H_ +#define SRC_COMMON_EXCEPTIONS_TRYCATCH_H_ #include #include @@ -54,5 +54,4 @@ int tryCatch(const std::function &func) { } // namespace Cynara -#endif // SRC_CLIENT_COMMON_EXCEPTIONS_TRYCATCH_H_ - +#endif // SRC_COMMON_EXCEPTIONS_TRYCATCH_H_ -- 2.7.4