From 64904b22e1eaa477fc0856cede83c4a40f554b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl> Date: Tue, 3 Jan 2012 11:56:25 +0100 Subject: [PATCH] one fix more ;d --- libcorpus2_whole/corpus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcorpus2_whole/corpus.h b/libcorpus2_whole/corpus.h index 85c5caf..b4ca6e8 100644 --- a/libcorpus2_whole/corpus.h +++ b/libcorpus2_whole/corpus.h @@ -50,7 +50,7 @@ public: /// Next document in corpus boost::shared_ptr<Document> next_document() { - static boost::shared_ptr<Document> _empty_doc_ptr; + boost::shared_ptr<Document> _empty_doc_ptr; if (!this->set_) { if (this->documents_.size() == 0) { return _empty_doc_ptr; -- GitLab