aboutsummaryrefslogtreecommitdiff
path: root/build/diagnostics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:43:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:43:41 +0200
commitcd4e709ead8a3e97eee0ef7b362240986e18fbd5 (patch)
tree69dc4a360e53a83ac0d9243e40c672a34a568c2a /build/diagnostics
parent2b0b06cbf4288746075a74c12ef233efc929a095 (diff)
Get rid of gcc, clang warnings (-Wall)
Diffstat (limited to 'build/diagnostics')
-rw-r--r--build/diagnostics3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/diagnostics b/build/diagnostics
index a9e9305..05401b9 100644
--- a/build/diagnostics
+++ b/build/diagnostics
@@ -262,8 +262,9 @@ namespace build
};
typedef diag_prologue<simple_prologue_base> simple_prologue;
- struct location
+ class location
{
+ public:
location () {}
location (const char* f, std::uint64_t l, std::uint64_t c)
: file (f), line (l), column (c) {}