mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-03 12:50:02 +00:00
Pass the istream to read_post instead of assuming std::cin.
This commit is contained in:
parent
c907e5dd49
commit
ed1343bd7b
3 changed files with 5 additions and 4 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <boost/container/flat_map.hpp>
|
||||
#include <string>
|
||||
#include <istream>
|
||||
|
||||
namespace tawashi {
|
||||
|
||||
|
@ -27,6 +28,6 @@ namespace tawashi {
|
|||
|
||||
typedef boost::container::flat_map<std::string, std::string> PostMapType;
|
||||
|
||||
const PostMapType& read_post (const Env& parEnv);
|
||||
const PostMapType& read_post (std::istream& parSrc, const Env& parEnv);
|
||||
} //namespace cgi
|
||||
} //namespace tawashi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue