mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Need some std declarations and qualifiers to compile with DEC cxx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1953 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ceffe96938
commit
598981975c
@ -1,3 +1,12 @@
|
||||
2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* array.h (operator<<):
|
||||
* math_macro.h (dump, operator<<): added std:: qualifier to ostream.
|
||||
|
||||
* math_macrotable.C: added using std::make_pair directive.
|
||||
(dump): added using std::cerr directive here as I guess that this is
|
||||
temporary.
|
||||
|
||||
2001-04-20 Allan Rae <rae@lyx.org>
|
||||
|
||||
* formula.C (LocalDispatch): fixed another #warning. Guess who.
|
||||
|
@ -145,7 +145,7 @@ private:
|
||||
};
|
||||
|
||||
inline
|
||||
ostream & operator<<(ostream & os, MathedArray const & ar)
|
||||
std::ostream & operator<<(std::ostream & os, MathedArray const & ar)
|
||||
{
|
||||
ar.dump(os);
|
||||
return os;
|
||||
|
@ -76,7 +76,7 @@ public:
|
||||
///
|
||||
void expand();
|
||||
///
|
||||
void dump(ostream & os) const;
|
||||
void dump(std::ostream & os) const;
|
||||
///
|
||||
MathParInset const * arg(int) const;
|
||||
///
|
||||
@ -97,7 +97,7 @@ private:
|
||||
void operator=(MathMacro const &);
|
||||
};
|
||||
|
||||
inline ostream & operator<<(ostream & os, MathMacro const & m)
|
||||
inline std::ostream & operator<<(std::ostream & os, MathMacro const & m)
|
||||
{
|
||||
m.dump(os);
|
||||
return os;
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "support/LAssert.h"
|
||||
|
||||
using std::endl;
|
||||
using std::make_pair;
|
||||
|
||||
MathMacroTable::table_type MathMacroTable::macro_table;
|
||||
|
||||
@ -25,6 +26,8 @@ bool MathMacroTable::built = false;
|
||||
|
||||
void MathMacroTable::dump()
|
||||
{
|
||||
using std::cerr;
|
||||
|
||||
cerr << "\n------------------------------------------\n";
|
||||
table_type::const_iterator it;
|
||||
for (it = macro_table.begin(); it != macro_table.end(); ++it)
|
||||
|
Loading…
Reference in New Issue
Block a user