Namespace madness to get it to compile with gcc 3.0. Ah, 2.95 works too ;)

This commit is contained in:
Jacobo Tarrío
2001-07-16 20:35:42 +00:00
parent 2f1bb70e33
commit 8c47abb153
111 changed files with 437 additions and 431 deletions

View File

@@ -143,7 +143,7 @@ public:
int color; // Line color
uint type; // GLINE_*
uint kludge; // GKLUD_*
string txt; // The line text
std::string txt; // The line text
Line* prev; // Pointer to previous line
Line* next; // Pointer to next line

View File

@@ -106,7 +106,7 @@ public:
void set_aka(ftn_addr& a) { cfg.aka = a; }
void set_originno(int o) { cfg.originno = o; }
void set_attr(Attr& a) { cfg.attr = a; }
void set_origin(char* o) { string tmp = o; cfg.setorigin(tmp); }
void set_origin(char* o) { std::string tmp = o; cfg.setorigin(tmp); }
void set_scan(bool s) { cfg.scan = (byte)s; }
void set_scanexcl(bool s) { cfg.scanexcl = (byte)s; }

View File

@@ -195,7 +195,7 @@ void SquishArea::raw_scan(int __keep_index, int __scanpm) {
// Scan for personal mail
if(__scanpm) {
int umax = (WidePersonalmail & PM_ALLNAMES) ? WideUsernames : 1;
vector<dword> uhash;
std::vector<dword> uhash;
for(int uh=0; uh<umax; uh++)
uhash.push_back(strHash32(WideUsername[uh]));
PMrk->Reset();