diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-04-25 23:32:02 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-04-25 23:32:02 -0400 |
commit | 389f77ddd6a8eabe357691a9476f061f6262e563 (patch) | |
tree | c637cf641f86eb83ab8e78fe021c32cfcca4add1 /utils | |
parent | e8b412577b9d3fe2090b9f48443f919cd268c809 (diff) |
only turn on c++11 for extractor
Diffstat (limited to 'utils')
-rw-r--r-- | utils/filelib.h | 2 |
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? |