From 22c088071d45822551069b9b616e3d87f66666e3 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 7 Jan 2002 14:17:54 +0000 Subject: [PATCH] Some minor changes to get the code to compile with DEC cxx. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3301 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 7 +++++++ src/box.h | 2 ++ src/lyxtextclass.C | 2 ++ src/lyxtextclasslist.C | 2 ++ 4 files changed, 13 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 7fe4b654db..d8887e140f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2002-01-07 Angus Leeming + + * box.h: #include "support/LOstream.h", needed for inlined function. + + * lyxtextclass.C: + * lyxtextclasslist.C: added some using std declarations. + 2002-01-06 John Levon * box.h: make signed dimensions to allow insets wider than diff --git a/src/box.h b/src/box.h index 60efc75562..8a53c737a7 100644 --- a/src/box.h +++ b/src/box.h @@ -9,6 +9,8 @@ #ifndef BOX_H #define BOX_H +#include "support/LOstream.h" + /** * A simple class representing rectangular regions. * It is expected that the box be constructed in diff --git a/src/lyxtextclass.C b/src/lyxtextclass.C index c891330ab8..b2ee820c70 100644 --- a/src/lyxtextclass.C +++ b/src/lyxtextclass.C @@ -27,6 +27,8 @@ #include using std::endl; +using std::find_if; +using std::remove_if; /* ******************************************************************* */ diff --git a/src/lyxtextclasslist.C b/src/lyxtextclasslist.C index d98d2b5d69..9c1c447d1b 100644 --- a/src/lyxtextclasslist.C +++ b/src/lyxtextclasslist.C @@ -34,6 +34,8 @@ using lyx::textclass_type; using std::pair; using std::make_pair; using std::endl; +using std::find_if; +using std::sort; // Gets textclass number from name -- 2.39.5