Index: runtime/vm/timeline.h |
diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h |
index 47d2439567b56b1308e5bdf4014f565abcd7f7d1..6222572b93c9b6e18449d77de06ed38b0c11883d 100644 |
--- a/runtime/vm/timeline.h |
+++ b/runtime/vm/timeline.h |
@@ -330,7 +330,7 @@ class TimelineStream { |
tds.CopyArgument( \ |
0, \ |
"function", \ |
- const_cast<char*>(function.ToLibNamePrefixedQualifiedCString())); \ |
+ function.ToLibNamePrefixedQualifiedCString()); \ |
} |