aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2015-10-23 11:26:31 -0700
committerAlex Vakulenko <avakulenko@google.com>2015-10-23 11:27:59 -0700
commit3955423ea4e562cd37fa83881cd2c02b92872fbe (patch)
treedf901abdc6b9cb132200ef28489870838c7be7b6
parent685b2aeed879903b86448428dec1e88c9b6741b1 (diff)
downloadweaved-3955423ea4e562cd37fa83881cd2c02b92872fbe.tar.gz
weaved: Use new Any::GetUndecoratedTypeName() method
Since Any::GetType() is removed, use the new Any::GetUndecoratedTypeName method to print the human-readable type name contained within Any. BUG: 25132472 Change-Id: I44a7daa118c2c4272c365ba5c0cbfd0a03fc2832
-rw-r--r--buffet/dbus_conversion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffet/dbus_conversion.cc b/buffet/dbus_conversion.cc
index 39454ee..13f2c87 100644
--- a/buffet/dbus_conversion.cc
+++ b/buffet/dbus_conversion.cc
@@ -220,7 +220,7 @@ std::unique_ptr<base::Value> CreateValue<brillo::Any>(
brillo::Error::AddToPrintf(
error, FROM_HERE, "buffet", "unknown_type", "Type '%s' is not supported.",
- brillo::UndecorateTypeName(any.GetType().name()).c_str());
+ any.GetUndecoratedTypeName().c_str());
return nullptr;
}