]> git.seodisparate.com - UDPConnection/commit
Prevent exceptions being thrown in TSQueue
authorStephen Seo <seo.disparate@gmail.com>
Tue, 3 Sep 2019 06:15:09 +0000 (15:15 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 3 Sep 2019 06:15:09 +0000 (15:15 +0900)
commit05cb45ca14469f92f07c11f35a599ac6f87539fa
tree00c56c05104352f2a8d939f13426a30d6b0ae7aa
parent150deb7e5c2a23e0de9b0c4e3d92cdf6abbef840
Prevent exceptions being thrown in TSQueue

TSQueue's top() and top_and_pop() now return std::optional<T> instead of
just T.
cpp_impl/src/TSQueue.hpp
cpp_impl/src/UDPConnection.cpp
cpp_impl/src/test/TestTSQueue.cpp