Commit f332196
authored
Use const char * for static insline string const in llava_runner.h (pytorch#12840)
With std::string, its constructor is part of dynamic initialization and
across TUs the order is undefined, so code in another static initializer
might see it before it’s constructed1 parent 21c8e67 commit f332196
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments