Skip to content

Commit 14a0ec3

Browse files
committed
[Backtracing] A couple more const fixes.
rdar://103071801
1 parent 81a8a7e commit 14a0ec3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/runtime/Paths.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void _swift_initRuntimePath(void *);
5050
void _swift_initRootPath(void *);
5151
const char *_swift_getDefaultRootPath();
5252
char *_swift_getAuxExePathIn(const char *path, const char *name);
53-
const char *_swift_tryAuxExePath(const char *name, const char *path, ...);
53+
char *_swift_tryAuxExePath(const char *name, const char *path, ...);
5454

5555
bool _swift_isPathSep(char ch) {
5656
#ifdef _WIN32
@@ -443,7 +443,7 @@ _swift_getAuxExePathIn(const char *path, const char *name)
443443
return fullPath;
444444
}
445445

446-
const char *
446+
char *
447447
_swift_tryAuxExePath(const char *name, const char *path, ...)
448448
{
449449
va_list val;

0 commit comments

Comments
 (0)