Make error_message constant

Co-authored-by: Mihai Maruseac <mihai.maruseac@gmail.com>
This commit is contained in:
Gabriel Rasskin 2020-06-18 15:27:56 -07:00 committed by GitHub
parent dda51e1c94
commit 852cde437f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ tensorflow::error::Code BuildRandomErrorCode(uint32_t code){
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
tensorflow::error::Code error_code;
std::string error_message = "ERROR";
const std::string error_message = "ERROR";
tensorflow::Status s, derived_s;