aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2015-11-03 01:26:44 +0000
committerdos-reis <gdr@axiomatics.org>2015-11-03 01:26:44 +0000
commit195b1eb05b7f5d93dce92b68db543c025fb84ebd (patch)
tree701719a614a3ae0fbf0dfeb3f86bffbaa27a7bdf /src
parent67bde40b42a2271f68bc86a177a02401392de978 (diff)
downloadopen-axiom-195b1eb05b7f5d93dce92b68db543c025fb84ebd.tar.gz
Fix bogus warning from Clang.
Diffstat (limited to 'src')
-rw-r--r--src/utils/string-pool.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/string-pool.H b/src/utils/string-pool.H
index 220f43be..1f746e6d 100644
--- a/src/utils/string-pool.H
+++ b/src/utils/string-pool.H
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2014, Gabriel Dos Reis.
+// Copyright (C) 2010-2015, Gabriel Dos Reis.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@@ -54,7 +54,7 @@ namespace OpenAxiom {
protected:
const Byte* text; // pointer to the byte sequence
size_t length; // number of bytes in this string
- friend class StringPool;
+ friend StringPool;
StringItem() : text(), length() { }
};