From 761ef1f4ddf4069f702ec99c377faa2d7b2a0694 Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Tue, 14 Feb 2006 04:16:41 +0000 Subject: Changed slice2cs and slice2vb to allow "clr:property" for all structs. It's more consistent that way. --- cpp/src/Slice/VbUtil.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cpp/src/Slice/VbUtil.cpp') diff --git a/cpp/src/Slice/VbUtil.cpp b/cpp/src/Slice/VbUtil.cpp index 4894958b78b..c4e75a80fac 100755 --- a/cpp/src/Slice/VbUtil.cpp +++ b/cpp/src/Slice/VbUtil.cpp @@ -1109,15 +1109,6 @@ bool Slice::VbGenerator::MetaDataVisitor::visitStructStart(const StructPtr& p) { validate(p); - if(p->hasMetaData("clr:property")) - { - if(!p->hasMetaData("clr:class")) - { - string file = p->definitionContext()->filename(); - cout << file << ":" << p->line() << ": warning: the property mapping applies to Slice " - << "structures only in conjunction with the `clr:class' metadata directive" << endl; - } - } return true; } -- cgit v1.2.3