[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [baloo] src/file/extractor: IOHandler: atEnd can be const
From: Vishesh Handa <me () vhanda ! in>
Date: 2015-10-27 18:45:57
Message-ID: E1Zr9Ft-0008FR-7V () scm ! kde ! org
[Download RAW message or body]
Git commit ce57f71275006e9c6e1ac873de2d3ab99c62c039 by Vishesh Handa.
Committed on 27/10/2015 at 18:44.
Pushed by vhanda into branch 'master'.
IOHandler: atEnd can be const
M +1 -1 src/file/extractor/iohandler.cpp
M +1 -1 src/file/extractor/iohandler.h
http://commits.kde.org/baloo/ce57f71275006e9c6e1ac873de2d3ab99c62c039
diff --git a/src/file/extractor/iohandler.cpp b/src/file/extractor/iohandler.cpp
index 9ec2bd0..b49a2b2 100644
--- a/src/file/extractor/iohandler.cpp
+++ b/src/file/extractor/iohandler.cpp
@@ -51,7 +51,7 @@ quint64 IOHandler::nextId()
return id;
}
-bool IOHandler::atEnd()
+bool IOHandler::atEnd() const
{
if (m_batchSize == 0) {
return true;
diff --git a/src/file/extractor/iohandler.h b/src/file/extractor/iohandler.h
index b197f84..c0dfbbb 100644
--- a/src/file/extractor/iohandler.h
+++ b/src/file/extractor/iohandler.h
@@ -33,7 +33,7 @@ class IOHandler
public:
IOHandler(int stdin, int stdout);
quint64 nextId();
- bool atEnd();
+ bool atEnd() const;
void newBatch();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic