aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/core/program.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/clover/core/program.cpp b/src/gallium/state_trackers/clover/core/program.cpp
index 30a1f0e0762..6c224dbe083 100644
--- a/src/gallium/state_trackers/clover/core/program.cpp
+++ b/src/gallium/state_trackers/clover/core/program.cpp
@@ -61,9 +61,9 @@ program::build(const ref_vector<device> &devs, const char *opts) {
dev.ir_target(), build_opts(dev),
log));
_binaries.insert({ &dev, module });
- _logs.insert({ &dev, std::string(log.c_str()) });
+ _logs.insert({ &dev, log });
} catch (const build_error &) {
- _logs.insert({ &dev, std::string(log.c_str()) });
+ _logs.insert({ &dev, log });
throw;
}
}