We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463a0ea commit cc6d376Copy full SHA for cc6d376
include/network/protocol/http/message/header/name.hpp
@@ -14,7 +14,7 @@ namespace network {
14
namespace http {
15
16
template <class T1, class T2>
17
-T1 &
+inline T1 const &
18
name(std::pair<T1,T2> const & p) {
19
return p.first;
20
}
include/network/protocol/http/message/header/value.hpp
@@ -16,7 +16,7 @@ struct request_header;
struct response_header;
-T1 & value(std::pair<T1,T2> const & p) {
+inline T1 const & value(std::pair<T1,T2> const & p) {
return p.second;
21
22
0 commit comments