mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +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
|
||||
|
||||
|
||||
#include "support/bind.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
@ -142,6 +140,8 @@ namespace lyx {
|
||||
using support::addExtension;
|
||||
using support::changeExtension;
|
||||
using support::removeExtension;
|
||||
using std::bind;
|
||||
using std::placeholders::_1;
|
||||
|
||||
namespace frontend {
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
||||
#include <QObject>
|
||||
#include <QWaitCondition>
|
||||
|
||||
#include "support/bind.h"
|
||||
|
||||
namespace lyx {
|
||||
|
||||
using std::function;
|
||||
using std::ref;
|
||||
using std::bind;
|
||||
|
||||
namespace frontend {
|
||||
|
||||
|
@ -28,8 +28,6 @@
|
||||
#include "support/filetools.h"
|
||||
#include "support/gettext.h"
|
||||
|
||||
#include "support/bind.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace lyx {
|
||||
|
@ -21,8 +21,6 @@
|
||||
#include "support/os.h"
|
||||
#include "support/Timeout.h"
|
||||
|
||||
#include "support/bind.h"
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
#include <list>
|
||||
@ -50,6 +48,10 @@ using namespace std;
|
||||
|
||||
|
||||
namespace lyx {
|
||||
|
||||
using std::placeholders::_1;
|
||||
using std::bind;
|
||||
|
||||
namespace support {
|
||||
|
||||
namespace {
|
||||
|
@ -35,7 +35,6 @@ liblyxsupport_a_SOURCES = \
|
||||
FileMonitor.h \
|
||||
FileMonitor.cpp \
|
||||
RandomAccessList.h \
|
||||
bind.h \
|
||||
Cache.h \
|
||||
Changer.h \
|
||||
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