Requiring C+11 & purging boost includes makes functional.h useless.

This commit is contained in:
Pavel Sanda 2024-10-22 20:45:20 +02:00
parent ae1ecba10c
commit aa7ca6a6bd
4 changed files with 3 additions and 27 deletions

View File

@ -17,9 +17,11 @@
#include <QWaitCondition> #include <QWaitCondition>
#include "support/bind.h" #include "support/bind.h"
#include "support/functional.h"
namespace lyx { namespace lyx {
using std::function;
namespace frontend { namespace frontend {

View File

@ -65,7 +65,6 @@ liblyxsupport_a_SOURCES = \
filetools.h \ filetools.h \
ForkedCalls.cpp \ ForkedCalls.cpp \
ForkedCalls.h \ ForkedCalls.h \
functional.h \
gettext.cpp \ gettext.cpp \
gettext.h \ gettext.h \
gzstream.cpp \ gzstream.cpp \

View File

@ -12,8 +12,6 @@
#ifndef LYX_BIND_H #ifndef LYX_BIND_H
#define LYX_BIND_H #define LYX_BIND_H
#include "support/functional.h"
namespace lyx namespace lyx
{ {
using std::placeholders::_1; using std::placeholders::_1;

View File

@ -1,23 +0,0 @@
// -*- C++ -*-
/**
* \file functional.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Peter Kümmel
*
* Full author contact details are available in file CREDITS.
*/
#ifndef LYX_FUNCTIONAL_H
#define LYX_FUNCTIONAL_H
#include <functional>
namespace lyx
{
using std::function;
}
#endif