Skip to content

Commit 831be70

Browse files
Stefan EilemannStefan Eilemann
Stefan Eilemann
authored and
Stefan Eilemann
committed
ICC fix, as suggested upstream
1 parent d2f806f commit 831be70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/network/protocol/http/client/facade.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class basic_client_facade {
131131
} else {
132132
if (boost::empty(content_type_headers)) {
133133
typedef typename char_<Tag>::type char_type;
134-
static char_type* content_type = "x-application/octet-stream";
134+
static char_type const content_type[] = "x-application/octet-stream";
135135
request << header("Content-Type", content_type);
136136
}
137137
}
@@ -236,7 +236,7 @@ class basic_client_facade {
236236
} else {
237237
if (boost::empty(content_type_headers)) {
238238
typedef typename char_<Tag>::type char_type;
239-
static char_type* content_type = "x-application/octet-stream";
239+
static char_type const content_type[] = "x-application/octet-stream";
240240
request << header("Content-Type", content_type);
241241
}
242242
}

0 commit comments

Comments
 (0)