diff options
author | Stephen Hines <srhines@google.com> | 2014-09-05 23:32:35 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-05 23:32:35 +0000 |
commit | fe41c8da501e5a742f1aa6fade2592b4b80bca3b (patch) | |
tree | cb2f21b244be0bed88d233176f2ca14b70a73004 /slang_rs_export_type.h | |
parent | 4b042b6df8079d19e97f71d5b493eab9ce360bf6 (diff) | |
parent | 340b5550cf63b6beae3b12c2e91377bce7704c34 (diff) | |
download | android_frameworks_compile_slang-fe41c8da501e5a742f1aa6fade2592b4b80bca3b.tar.gz android_frameworks_compile_slang-fe41c8da501e5a742f1aa6fade2592b4b80bca3b.tar.bz2 android_frameworks_compile_slang-fe41c8da501e5a742f1aa6fade2592b4b80bca3b.zip |
am 340b5550: Fix dangling reference to a local std::string.
* commit '340b5550cf63b6beae3b12c2e91377bce7704c34':
Fix dangling reference to a local std::string.
Diffstat (limited to 'slang_rs_export_type.h')
-rw-r--r-- | slang_rs_export_type.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/slang_rs_export_type.h b/slang_rs_export_type.h index a71f6c8..d9bad8c 100644 --- a/slang_rs_export_type.h +++ b/slang_rs_export_type.h @@ -476,9 +476,7 @@ class RSExportConstantArrayType : public RSExportType { RSExportConstantArrayType(RSContext *Context, const RSExportType *ElementType, unsigned Size) - : RSExportType(Context, - ExportClassConstantArray, - CreateDummyName("ConstantArray", std::string())), + : RSExportType(Context, ExportClassConstantArray, "<ConstantArray>"), mElementType(ElementType), mSize(Size) { } |