Skip to content

Commit a6859b4

Browse files
committed
fix C++11 warning about char* conversion
1 parent 0e9fe7e commit a6859b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/TaskLocal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static void swift_task_reportIllegalTaskLocalBindingWithinWithTaskGroupImpl(
254254
const unsigned char *_unused_file, uintptr_t _unused_fileLength,
255255
bool _unused_fileIsASCII, uintptr_t _unused_line) {
256256

257-
char *message =
257+
char const *message =
258258
"error: task-local: detected illegal task-local value binding.\n"
259259
"Task-local values must only be set in a structured-context, such as: "
260260
"around any (synchronous or asynchronous function invocation), "

0 commit comments

Comments
 (0)