From 05d89198a0d43f0804484a71ff4b109e33cc6582 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 18 Sep 2020 10:30:54 +0200 Subject: [PATCH] dnsdist: views.hh should be a symbolic link to one in the pdns/ directory --- pdns/dnsdistdist/views.hh | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) mode change 100644 => 120000 pdns/dnsdistdist/views.hh diff --git a/pdns/dnsdistdist/views.hh b/pdns/dnsdistdist/views.hh deleted file mode 100644 index 7e56c1590d..0000000000 --- a/pdns/dnsdistdist/views.hh +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of PowerDNS or dnsdist. - * Copyright -- PowerDNS.COM B.V. and its contributors - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of version 2 of the GNU General Public License as - * published by the Free Software Foundation. - * - * In addition, for the avoidance of any doubt, permission is granted to - * link this program with OpenSSL and to (re)distribute the binaries - * produced as the result of such linking. - * - * 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. - */ - -#pragma once - -#ifdef __cpp_lib_string_view -using std::string_view; -#else -#include -#if BOOST_VERSION >= 106100 -#include -using boost::string_view; -#else -#include -using string_view = boost::string_ref; -#endif -#endif diff --git a/pdns/dnsdistdist/views.hh b/pdns/dnsdistdist/views.hh new file mode 120000 index 0000000000..2213b7d900 --- /dev/null +++ b/pdns/dnsdistdist/views.hh @@ -0,0 +1 @@ +../views.hh \ No newline at end of file -- 2.47.2