*** empty log message ***

This commit is contained in:
jiri
2008-12-17 15:34:25 +00:00
parent 24cd7fff35
commit e49f2a9d6c
2 changed files with 12 additions and 7 deletions

View File

@@ -18,14 +18,23 @@
#ifndef _LAERROR_H_
#define _LAERROR_H_
#include <iostream>
//exception class for laerror
class LAerror
{
const char *msg;
public:
const char *msg;
LAerror(const char *s) {msg=s;};
};
extern void laerror(const char *);
inline std::ostream & operator<<(std::ostream &s, const LAerror &x)
{
s << x.msg;
return s;
}
#endif