From b1087d646fa93c4208dd227d0c9df323ff7c858b Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 24 Sep 2014 21:06:55 +0200 Subject: Fixed (ICE-5511) - Consider removing the deprecated AMI mapping --- cpp/src/Slice/RubyUtil.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'cpp/src/Slice/RubyUtil.cpp') diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index 79a8185d2f4..0fbef458392 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -540,27 +540,6 @@ Slice::Ruby::CodeVisitor::visitClassDefStart(const ClassDefPtr& p) _out << "], _ctx)"; _out.dec(); _out << nl << "end"; - -/* If AMI/AMD is ever implemented... - if(p->hasMetaData("ami") || (*oli)->hasMetaData("ami")) - { - _out << sp << nl << "def " << fixedOpName << "_async(_cb"; - if(!inParams.empty()) - { - _out << ", " << inParams; - } - _out << ", _ctx=nil)"; - _out.inc(); - _out << nl << name << "_mixin::OP_" << (*oli)->name() << ".invokeAsync(self, _cb, [" << inParams; - if(!inParams.empty() && inParams.find(',') == string::npos) - { - _out << ", "; - } - _out << "], _ctx)"; - _out.dec(); - _out << nl << "end"; - } -*/ } _out.dec(); _out << nl << "end"; // End of mix-in module for proxy. -- cgit v1.2.3