Fix some errors and warnings

This commit is contained in:
Thomas Krijnen
2012-08-13 09:17:08 +00:00
parent 6f1e1c3bad
commit 0ef6577407
6 changed files with 4314 additions and 4314 deletions
+2094 -2094
View File
File diff suppressed because it is too large Load Diff
+2207 -2207
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
@@ -187,7 +187,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);
@@ -197,7 +197,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