Skip to content

Commit

Permalink
Add input_stream::path() method to retrieve the original path
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Apr 24, 2015
1 parent 208c177 commit d313c8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/input_stream.hpp
Expand Up @@ -27,6 +27,11 @@ class input_stream
bool read_line(std::string& str);
void stop();

const std::string& path() const
{
return path_;
}

private:
input_stream(const input_stream&);
void operator=(const input_stream&);
Expand Down

0 comments on commit d313c8d

Please sign in to comment.