summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-04-25 23:32:02 -0400
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-04-25 23:32:02 -0400
commitdf3b23968d5bda4050b7f7a002a7e5a1d7a48a74 (patch)
tree3d2f86bbfa03d3fb1d207253cad3e8e29c22f390 /utils
parentba206aaac1d95e76126443c9e7ccc5941e879849 (diff)
only turn on c++11 for extractor
Diffstat (limited to 'utils')
-rw-r--r--utils/filelib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/filelib.h b/utils/filelib.h
index bb6e7415..b9ea3940 100644
--- a/utils/filelib.h
+++ b/utils/filelib.h
@@ -27,7 +27,7 @@ struct BaseFile {
}
bool is_null() const { return !ps_; }
operator bool() const {
- return ps_;
+ return ps_.get();
}
S* stream() { return ps_.get(); }
S* operator->() { return ps_.get(); } // compat with old ReadFile * -> new Readfile. remove?