diff options
Diffstat (limited to 'binaryurp/source/outgoingrequests.hxx')
-rw-r--r-- | binaryurp/source/outgoingrequests.hxx | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/binaryurp/source/outgoingrequests.hxx b/binaryurp/source/outgoingrequests.hxx index 0aa7b57580d1..7816032596f1 100644 --- a/binaryurp/source/outgoingrequests.hxx +++ b/binaryurp/source/outgoingrequests.hxx @@ -26,33 +26,39 @@ #include <osl/mutex.hxx> -namespace binaryurp { struct OutgoingRequest; } -namespace rtl { class ByteSequence; } - -namespace binaryurp { +namespace binaryurp +{ +struct OutgoingRequest; +} +namespace rtl +{ +class ByteSequence; +} -class OutgoingRequests { +namespace binaryurp +{ +class OutgoingRequests +{ public: OutgoingRequests(); ~OutgoingRequests(); - void push(rtl::ByteSequence const & tid, OutgoingRequest const & request); + void push(rtl::ByteSequence const& tid, OutgoingRequest const& request); - OutgoingRequest top(rtl::ByteSequence const & tid); + OutgoingRequest top(rtl::ByteSequence const& tid); - void pop(rtl::ByteSequence const & tid) throw (); + void pop(rtl::ByteSequence const& tid) throw(); private: OutgoingRequests(const OutgoingRequests&) = delete; OutgoingRequests& operator=(const OutgoingRequests&) = delete; - typedef std::map< rtl::ByteSequence, std::vector< OutgoingRequest > > Map; + typedef std::map<rtl::ByteSequence, std::vector<OutgoingRequest>> Map; osl::Mutex mutex_; Map map_; }; - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |