From a9347303688336af5c320348a311c76049ba9ca4 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Thu, 21 May 2015 23:43:18 +0200 Subject: Cycles: Remove TM / R and whitespace from OpenCL device names. Was already done for CPU devices, now we also do this for OpenCL. --- intern/cycles/util/util_string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/util/util_string.h') diff --git a/intern/cycles/util/util_string.h b/intern/cycles/util/util_string.h index fa1671fd1ee..6cb8d8df1e1 100644 --- a/intern/cycles/util/util_string.h +++ b/intern/cycles/util/util_string.h @@ -40,8 +40,10 @@ string string_printf(const char *format, ...) PRINTF_ATTRIBUTE; bool string_iequals(const string& a, const string& b); void string_split(vector& tokens, const string& str, const string& separators = "\t "); +void string_replace(string& haystack, const string& needle, const string& other); bool string_endswith(const string& s, const char *end); string string_strip(const string& s); +string string_remove_trademark(const string& s); CCL_NAMESPACE_END -- cgit v1.2.3