summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-12-08 02:38:01 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-12-08 02:38:01 +0100
commit63e1b64fc330a1682aefd05307962381e512f858 (patch)
tree20d5253ea7da96967bcc898acc7176aacfe18cf2 /src/core
parent2bb21d88d0ccd33afd96ecda6506be0e10895028 (diff)
added first unit test for the Buffer class
Diffstat (limited to 'src/core')
-rw-r--r--src/core/utils/CharReader.cpp2
-rw-r--r--src/core/utils/CharReader.hpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/utils/CharReader.cpp b/src/core/utils/CharReader.cpp
index 6407907..84f562d 100644
--- a/src/core/utils/CharReader.cpp
+++ b/src/core/utils/CharReader.cpp
@@ -18,7 +18,7 @@
#include <algorithm>
-#include "Buffer.hpp"
+#include "CharReader.hpp"
namespace ousia {
namespace utils {
diff --git a/src/core/utils/CharReader.hpp b/src/core/utils/CharReader.hpp
index 0dd0a25..4986d3e 100644
--- a/src/core/utils/CharReader.hpp
+++ b/src/core/utils/CharReader.hpp
@@ -17,15 +17,15 @@
*/
/**
- * @file Buffer.hpp
+ * @file CharReader.hpp
*
- * Helper class which allows to read from an input source from multiple cursors.
+ * Used within all parsers to read single characters from an underlying stream.
*
* @author Andreas Stöckel (astoecke@techfak.uni-bielefeld.de)
*/
-#ifndef _OUSIA_BUFFER_HPP_
-#define _OUSIA_BUFFER_HPP_
+#ifndef _OUSIA_CHAR_READER_HPP_
+#define _OUSIA_CHAR_READER_HPP_
#include <list>
#include <vector>
@@ -297,5 +297,5 @@ public:
}
}
-#endif /* _OUSIA_BUFFER_HPP_ */
+#endif /* _OUSIA_CHAR_READER_HPP_ */