Fix some errors and warnings

This commit is contained in:
Thomas Krijnen
2012-12-31 14:29:18 +00:00
parent 22ab3ad06a
commit 8895368ae3
6 changed files with 4041 additions and 4041 deletions
+1442 -1442
View File
File diff suppressed because it is too large Load Diff
+2588 -2588
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -93,4 +93,4 @@ std::ostream* Logger::log1 = 0;
std::ostream* Logger::log2 = 0;
std::stringstream Logger::log_stream;
Logger::Severity Logger::verbosity = Logger::LOG_NOTICE;
char* Logger::severity_strings[] = { "Notice","Warning","Error" };
const char* Logger::severity_strings[] = { "Notice","Warning","Error" };
+2 -2
View File
@@ -181,7 +181,7 @@ private:
static std::ostream* log2;
static std::stringstream log_stream;
static Severity verbosity;
static char* severity_strings[];
static const char* severity_strings[];
public:
/// Determines to what stream respectively progress and errors are logged
static void SetOutput(std::ostream* l1, std::ostream* l2);
@@ -191,7 +191,7 @@ public:
/// Log a message to the output stream
static void Message(Severity type, const std::string& message, const IfcAbstractEntityPtr entity=0);
static void Status(const std::string& message, bool new_line=true);
static std::string Logger::GetLog();
static std::string GetLog();
};
#endif