From c91d07c784e603dfb49a0721bab34b0ff960fc3f Mon Sep 17 00:00:00 2001 From: David Reiss Date: Wed, 20 Feb 2008 05:30:55 +0000 Subject: [PATCH] Fix a typo in the C# generator. Actually, it is not a typo. The original authors didn't convert one call to get_java_package to get_csharp_namespace. Tested by building Thrift. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665489 13f79535-47bb-0310-9956-ffa450edef68 --- compiler/cpp/src/generate/t_csharp_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cpp/src/generate/t_csharp_generator.cc b/compiler/cpp/src/generate/t_csharp_generator.cc index 676125c6..45370a4b 100644 --- a/compiler/cpp/src/generate/t_csharp_generator.cc +++ b/compiler/cpp/src/generate/t_csharp_generator.cc @@ -1399,7 +1399,7 @@ string t_csharp_generator::type_name(t_type* ttype, bool in_container, bool in_i t_program* program = ttype->get_program(); if (program != NULL && program != program_) { - string ns = program->get_java_package(); + string ns = program->get_csharp_namespace(); if (!ns.empty()) { return ns + "." + ttype->get_name(); } -- 2.17.1