Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-02-22 22:46:55 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:34:27 +0300
commit5c3e56b54a630918e2206a2b682d8b18e6dc4c9a (patch)
tree62e2e4c4c953338d0e6e5c1020879b16be94d547 /coding/reader.hpp
parent32e1833acc0c1e7f7f547fae5fbfbfd55fa88692 (diff)
[search] Performance: Avoid penalty on polymorphic SubReader and coping of readers.
Diffstat (limited to 'coding/reader.hpp')
-rw-r--r--coding/reader.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/coding/reader.hpp b/coding/reader.hpp
index edbb2833a4..9aa5d5fff8 100644
--- a/coding/reader.hpp
+++ b/coding/reader.hpp
@@ -134,6 +134,8 @@ public:
{
m_p->ReadAsString(s);
}
+
+ ReaderT * GetPtr() const { return m_p.get(); }
};
// Model reader store file id as string.