summaryrefslogtreecommitdiff
path: root/compiler/cpp/src/thrift/parse/t_scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cpp/src/thrift/parse/t_scope.h')
-rw-r--r--compiler/cpp/src/thrift/parse/t_scope.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/cpp/src/thrift/parse/t_scope.h b/compiler/cpp/src/thrift/parse/t_scope.h
index 17a360f08..71ab4f389 100644
--- a/compiler/cpp/src/thrift/parse/t_scope.h
+++ b/compiler/cpp/src/thrift/parse/t_scope.h
@@ -166,6 +166,9 @@ public:
case t_base_type::TYPE_STRING:
const_val->set_string(constant->get_value()->get_string());
break;
+ case t_base_type::TYPE_UUID:
+ const_val->set_uuid(constant->get_value()->get_uuid());
+ break;
case t_base_type::TYPE_DOUBLE:
const_val->set_double(constant->get_value()->get_double());
break;