Commit 18972c43 authored by Fabian Kosmale's avatar Fabian Kosmale

no reason to create copies of a constant (that's what static does) (fixes gcc error)

parent b315db86
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
const void* Akabei::endlog = ( void* )-1;
/* /*
* Holds important configuration through different calls. * Holds important configuration through different calls.
*/ */
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
namespace Akabei namespace Akabei
{ {
static const void* endlog = ( void* )-1; extern const void* endlog;
} }
typedef enum __e_AkabeiLogLevel { typedef enum __e_AkabeiLogLevel {
...@@ -93,4 +93,4 @@ AkabeiLogLine log(); ...@@ -93,4 +93,4 @@ AkabeiLogLine log();
QString readLoggedActions(const QString &filter); QString readLoggedActions(const QString &filter);
#endif #endif
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment