aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-16 19:13:46 +0200
committerPierre-Marie Pédrot2018-10-16 19:13:46 +0200
commit3b1bff3262c7f40c7f4726d773845bfb6552d364 (patch)
tree1d4b1fe091c50e7a1acfb6460ec113fd363b5d91 /plugins
parentc64602a8cf882fa2e4b9a85ea9f57b5b709f598f (diff)
parent33c93006b7685092b5239ea001058578fac3552f (diff)
Merge PR #8738: [clib] Deprecate string functions available in OCaml 4.05
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ltac/profile_ltac.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ltac/profile_ltac.ml b/plugins/ltac/profile_ltac.ml
index d22bd4967a..db7dcfa6ef 100644
--- a/plugins/ltac/profile_ltac.ml
+++ b/plugins/ltac/profile_ltac.ml
@@ -260,7 +260,7 @@ let string_of_call ck =
) in
let s = String.map (fun c -> if c = '\n' then ' ' else c) s in
let s = try String.sub s 0 (CString.string_index_from s 0 "(*") with Not_found -> s in
- CString.strip s
+ String.trim s
let rec merge_sub_tree name tree acc =
try