summaryrefslogtreecommitdiff
path: root/zen/read_txt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/read_txt.cpp')
-rw-r--r--zen/read_txt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zen/read_txt.cpp b/zen/read_txt.cpp
index 0fd310c2..7566ff14 100644
--- a/zen/read_txt.cpp
+++ b/zen/read_txt.cpp
@@ -5,6 +5,7 @@ using namespace zen;
namespace
{
+warn_static("superfluous method")
std::string detectLineBreak(const Zstring& filename) //throw FileError
{
//read a (hopefully) significant portion of data
@@ -51,6 +52,7 @@ ExtractLines::ExtractLines(const Zstring& filename, const std::string& lineBreak
bool ExtractLines::getLine(std::string& output) //throw FileError
{
+ warn_static("don't use lineBreak, but support any of r, n, rn!!!")
for (;;)
{
//check if full line is in buffer
bgstack15