summaryrefslogtreecommitdiff
path: root/cli_ure
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-04-25 12:35:49 +0300
committerTor Lillqvist <tlillqvist@suse.com>2013-04-25 12:46:34 +0300
commit3a77c4fa06e02a3758222b39e6359a9f504d42b2 (patch)
treed2fb4a32c4e313836a68aba622291fc50ad073e3 /cli_ure
parent746784e16f31133e4dc4e062fa5b7f1620e8cda6 (diff)
Fix compilation error after fe4ffd81045144ffb8d69ae9e5df7ef191005128
Whether it works, no idea. But on the other hand, from the dicsussion in fdo#61503 it doesn't seem as if that commit was deeply insightful either. (And how it compiled on the commit author's machine, no idea.) Change-Id: If6355b33c406e8da5bdb2bf77aaf8b2ac0c39343
Diffstat (limited to 'cli_ure')
-rw-r--r--cli_ure/source/native/native_share.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_ure/source/native/native_share.h b/cli_ure/source/native/native_share.h
index 700577fff666..7c97153264ef 100644
--- a/cli_ure/source/native/native_share.h
+++ b/cli_ure/source/native/native_share.h
@@ -62,7 +62,7 @@ inline ::System::Object ^ to_cli(
intptr_t intptr =
reinterpret_cast< intptr_t >(
mapping.mapInterface( x.get(), ::getCppuType( &x ) ) );
- ::System::Runtime::InteropServices::GCHandle ^ handle = ::System::Runtime::InteropServices::GCHandle::FromIntPtr(gcnew ::System::IntPtr(intptr));
+ ::System::Runtime::InteropServices::GCHandle ^ handle = ::System::Runtime::InteropServices::GCHandle::FromIntPtr(::System::IntPtr(intptr));
::System::Object ^ ret = handle->Target;
handle->Free();
return ret;