Index: tools/json_schema_compiler/cpp_util.py |
diff --git a/tools/json_schema_compiler/cpp_util.py b/tools/json_schema_compiler/cpp_util.py |
index c5350212e24c79011844c43b338c96ee52492e5d..607570527a2fe718504bcf867b9d8042927ca1c5 100644 |
--- a/tools/json_schema_compiler/cpp_util.py |
+++ b/tools/json_schema_compiler/cpp_util.py |
@@ -41,7 +41,7 @@ def Classname(s): |
return '_'.join([x[0].upper() + x[1:] for x in re.split('\W', s)]) |
-def GetAsFundamentalValue(type_, src, dst): |
+def GetAsValue(type_, src, dst): |
"""Returns the C++ code for retrieving a fundamental type from a |
Value into a variable. |