diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-30 17:30:35 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-30 17:30:35 +0900 |
| commit | e34d0e7ffa602d611ec6ec14cf9aa381da41c24e (patch) | |
| tree | 592bb08917923313eba265001383f780ef0f930c /src/HttpRequest.h | |
| parent | 492d6d1eeb7df7c848c07487dbdef0306a462332 (diff) | |
Dont' return SharedHandle from HttpHeader::getRange()
Diffstat (limited to 'src/HttpRequest.h')
| -rw-r--r-- | src/HttpRequest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpRequest.h b/src/HttpRequest.h index c467d601..76c954c9 100644 --- a/src/HttpRequest.h +++ b/src/HttpRequest.h @@ -128,13 +128,13 @@ public: std::string getURIHost() const; - SharedHandle<Range> getRange() const; + Range getRange() const; /** * Inspects whether the specified response range is satisfiable * with request range. */ - bool isRangeSatisfied(const SharedHandle<Range>& range) const; + bool isRangeSatisfied(const Range& range) const; const SharedHandle<Request>& getRequest() const { |
