diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2020-02-05 22:13:09 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2020-02-05 22:13:09 +0100 |
commit | 69e4c826a34eb84c36bb07338a9a292a520f5970 (patch) | |
tree | 99d00a446b36fcdaf27dc9f1ddb5fc7e9edf5e3c /src/network.cpp | |
parent | 495d2cb6b47b309070b31e0ef83fa5731a150a6d (diff) |
Fix compilation with clang
Diffstat (limited to 'src/network.cpp')
-rw-r--r-- | src/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.cpp b/src/network.cpp index e9aeb3f..f778bf9 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -458,7 +458,7 @@ optional<TransportHeader> TransportHeader::load(const PartialObject & obj) } } - return TransportHeader { .items = items }; + return TransportHeader(items); } PartialObject TransportHeader::toObject() const |