mirror of
https://github.com/oatpp/oatpp.git
synced 2024-12-09 09:10:08 +08:00
Fixed bug in FIFOInputStream::createShared()
which did not pass the parameter to the constructor.
This commit is contained in:
parent
67755cf00b
commit
340212ba89
@ -48,10 +48,10 @@ class FIFOInputStream : public BufferedInputStream, public WriteCallback {
|
||||
* Constructor.
|
||||
* @param data - buffer.
|
||||
*/
|
||||
FIFOInputStream(v_buff_size initialSize = 2048);
|
||||
FIFOInputStream(v_buff_size initialSize = 4096);
|
||||
|
||||
static std::shared_ptr<FIFOInputStream> createShared(v_buff_size initialSize = 2048) {
|
||||
return std::make_shared<FIFOInputStream>(2048);
|
||||
static std::shared_ptr<FIFOInputStream> createShared(v_buff_size initialSize = 4096) {
|
||||
return std::make_shared<FIFOInputStream>(initialSize);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user