mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Small fixes for STLPort compliance
* src/cursor.C: add using std::for_each; * src/graphics/GraphicsTypes.h: add #include <string> * src/graph.C: add using std::fill; * src/frontends/controllers/helper_funcs.h: add #include <algorithm> * src/bufferview_funcs.C: add using std::find; * src/lyx_main.C: add using std::for_each; * configure.ac: don't use boost format on cygwin git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15176 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6f29180afc
commit
12a6d46370
@ -388,7 +388,7 @@ int mkstemp(char*);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
|
||||
#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM) && !defined(__CYGWIN__)
|
||||
# define USE_BOOST_FORMAT 1
|
||||
#else
|
||||
# define USE_BOOST_FORMAT 0
|
||||
|
@ -46,6 +46,7 @@ using std::istringstream;
|
||||
using std::ostringstream;
|
||||
using std::string;
|
||||
using std::vector;
|
||||
using std::find;
|
||||
|
||||
|
||||
namespace bv_funcs {
|
||||
|
@ -64,6 +64,7 @@ using std::endl;
|
||||
using std::isalpha;
|
||||
#endif
|
||||
using std::min;
|
||||
using std::for_each;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
namespace lyx {
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
using std::vector;
|
||||
using std::reverse;
|
||||
using std::fill;
|
||||
|
||||
|
||||
int Graph::bfs_init(int s, bool clear_visited)
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
#include "support/translator.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace lyx {
|
||||
namespace graphics {
|
||||
|
@ -80,6 +80,7 @@ namespace fs = boost::filesystem;
|
||||
using std::endl;
|
||||
using std::string;
|
||||
using std::vector;
|
||||
using std::for_each;
|
||||
|
||||
#ifndef CXX_GLOBAL_CSTD
|
||||
using std::exit;
|
||||
|
Loading…
Reference in New Issue
Block a user