Ignore:
Timestamp:
12/15/22 15:56:11 (17 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Event object creation is moved into a factory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hu/varadiistvan/scpl/io/_win32/BufferedStream.cc

    r9 r28  
    4040//------------------------------------------------------------------------------
    4141
    42 BufferedStream::BufferedStream(Waiter* waiter, HANDLE handle,
     42BufferedStream::BufferedStream(std::unique_ptr<EventFactory> eventFactory,
     43                               Waiter* waiter, HANDLE handle,
    4344                               size_t readingCapacity, size_t writingCapacity) :
    44     Overlappable(waiter, handle),
     45    Overlappable(std::move(eventFactory), waiter, handle),
    4546    readingBuffer( (readingCapacity==0) ? 0 :
    4647                   new ReadingBuffer(readingCapacity, this)),
Note: See TracChangeset for help on using the changeset viewer.