aboutsummaryrefslogtreecommitdiffstats
path: root/include/streamsocket.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-26 22:24:16 +0000
committerGravatar Sadie Powell2026-03-26 22:24:16 +0000
commitcd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch)
tree2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /include/streamsocket.h
parentMerge branch 'insp4' into master. (diff)
Switch typedefs to using statements.
Diffstat (limited to 'include/streamsocket.h')
-rw-r--r--include/streamsocket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/streamsocket.h b/include/streamsocket.h
index 216c1c816..60f21e97e 100644
--- a/include/streamsocket.h
+++ b/include/streamsocket.h
@@ -123,15 +123,15 @@ public:
public:
/** One element of the queue, a continuous buffer
*/
- typedef std::string Element;
+ using Element = std::string;
/** Sequence container of buffers in the queue
*/
- typedef std::deque<Element> Container;
+ using Container = std::deque<Element>;
/** Container iterator
*/
- typedef Container::const_iterator const_iterator;
+ using const_iterator = Container::const_iterator;
/** Return whether the queue is empty
* @return True if the queue is empty, false otherwise