diff options
author | wiktorg <wiktorg@google.com> | 2020-03-23 07:58:10 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2020-03-23 07:58:42 -0700 |
commit | 11e632517e73904c155039fb90a5419b4443b674 (patch) | |
tree | 747a77d12826c57069782a1662ddacbd47192f12 /cc/primitive_set.h | |
parent | d56329de11d62b74b954d0cdfe21e755b384f319 (diff) | |
download | tink-11e632517e73904c155039fb90a5419b4443b674.tar.gz |
Reimplement ToStatusF using absl::StrFormat
PiperOrigin-RevId: 302432992
Diffstat (limited to 'cc/primitive_set.h')
-rw-r--r-- | cc/primitive_set.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/primitive_set.h b/cc/primitive_set.h index c70147b0e..9673d6f4f 100644 --- a/cc/primitive_set.h +++ b/cc/primitive_set.h @@ -128,8 +128,7 @@ class PrimitiveSet { primitives_.find(identifier); if (found == primitives_.end()) { return ToStatusF(crypto::tink::util::error::NOT_FOUND, - "No primitives found for identifier '%s'.", - identifier.c_str()); + "No primitives found for identifier '%s'.", identifier); } return &(found->second); } |