From 0f84876118718138ed1a6727e98bf168521d0d08 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 30 Oct 2017 16:55:36 +0100 Subject: [PATCH] fix typo in compatability macro --- include/Swiften/SwiftenCompat.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/Swiften/SwiftenCompat.h b/include/Swiften/SwiftenCompat.h index e97d6f35..cac12d2a 100644 --- a/include/Swiften/SwiftenCompat.h +++ b/include/Swiften/SwiftenCompat.h @@ -1,18 +1,18 @@ /* * Swift compatibility - * + * * Copyright (c) 2016, Vladimir Matena - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -36,12 +36,12 @@ */ #if (SWIFTEN_VERSION >= 0x040000) -#define SWIFTEN_UNQPTR std::unique_ptr +#define SWIFTEN_UNIQUE_PTR std::unique_ptr #define SWIFTEN_SHRPTR_NAMESPACE std #define SWIFTEN_SIGNAL_NAMESPACE boost::signals2 #define SWIFT_HOSTADDRESS(x) *(Swift::HostAddress::fromString(x)) #else -#define SWIFTEN_UNQPTR std::auto_ptr +#define SWIFTEN_UNIQUE_PTR std::auto_ptr #define SWIFTEN_SHRPTR_NAMESPACE boost #define SWIFTEN_SIGNAL_NAMESPACE boost::signals #define SWIFT_HOSTADDRESS(x) Swift::HostAddress(x)