diff options
author | Matt Arsenault <[email protected]> | 2014-06-09 22:21:52 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-07-02 15:15:13 -0400 |
commit | 2ab44f657e3c8800aa610d39a04e88d6bf3bad01 (patch) | |
tree | 5ea06be3afb1ad840ba182772bf04f775c3cd92a /src/gallium/state_trackers/clover/util | |
parent | d2504ead2f7eb02b6a33545de2cf1b5957306fd6 (diff) |
clover: Fix not setting build log if the build succeeds v2
If there were only warnings, they would not be added to the log.
v2:
- Use compat::string.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/util')
-rw-r--r-- | src/gallium/state_trackers/clover/util/compat.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/util/compat.hpp b/src/gallium/state_trackers/clover/util/compat.hpp index 28601e878e8..50e1c7d47d5 100644 --- a/src/gallium/state_trackers/clover/util/compat.hpp +++ b/src/gallium/state_trackers/clover/util/compat.hpp @@ -265,6 +265,9 @@ namespace clover { class string : public vector<char> { public: + string() : vector() { + } + string(const char *p) : vector(p, std::strlen(p)) { } |