mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Requiring C+11 & purging boost includes makes bind.h useless.
This commit is contained in:
parent
88e092ae02
commit
26d27eda58
@ -122,8 +122,6 @@
|
|||||||
#define EXPORT_in_THREAD 1
|
#define EXPORT_in_THREAD 1
|
||||||
|
|
||||||
|
|
||||||
#include "support/bind.h"
|
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
@ -142,6 +140,8 @@ namespace lyx {
|
|||||||
using support::addExtension;
|
using support::addExtension;
|
||||||
using support::changeExtension;
|
using support::changeExtension;
|
||||||
using support::removeExtension;
|
using support::removeExtension;
|
||||||
|
using std::bind;
|
||||||
|
using std::placeholders::_1;
|
||||||
|
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QWaitCondition>
|
#include <QWaitCondition>
|
||||||
|
|
||||||
#include "support/bind.h"
|
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
using std::function;
|
using std::function;
|
||||||
|
using std::ref;
|
||||||
|
using std::bind;
|
||||||
|
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
#include "support/filetools.h"
|
#include "support/filetools.h"
|
||||||
#include "support/gettext.h"
|
#include "support/gettext.h"
|
||||||
|
|
||||||
#include "support/bind.h"
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#include "support/os.h"
|
#include "support/os.h"
|
||||||
#include "support/Timeout.h"
|
#include "support/Timeout.h"
|
||||||
|
|
||||||
#include "support/bind.h"
|
|
||||||
|
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <list>
|
#include <list>
|
||||||
@ -50,6 +48,10 @@ using namespace std;
|
|||||||
|
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
|
using std::placeholders::_1;
|
||||||
|
using std::bind;
|
||||||
|
|
||||||
namespace support {
|
namespace support {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -35,7 +35,6 @@ liblyxsupport_a_SOURCES = \
|
|||||||
FileMonitor.h \
|
FileMonitor.h \
|
||||||
FileMonitor.cpp \
|
FileMonitor.cpp \
|
||||||
RandomAccessList.h \
|
RandomAccessList.h \
|
||||||
bind.h \
|
|
||||||
Cache.h \
|
Cache.h \
|
||||||
Changer.h \
|
Changer.h \
|
||||||
checksum.cpp \
|
checksum.cpp \
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
// -*- C++ -*-
|
|
||||||
/**
|
|
||||||
* \file bind.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_BIND_H
|
|
||||||
#define LYX_BIND_H
|
|
||||||
|
|
||||||
namespace lyx
|
|
||||||
{
|
|
||||||
using std::placeholders::_1;
|
|
||||||
using std::placeholders::_2;
|
|
||||||
using std::bind;
|
|
||||||
using std::ref;
|
|
||||||
} // namespace
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue
Block a user