AcquireNoThrow(): return type must be HRESULT
authorMaks Naumov <maksqwe1@ukr.net>
Tue, 10 Feb 2015 07:17:57 +0000 (09:17 +0200)
committerMaks Naumov <maksqwe1@ukr.net>
Tue, 10 Feb 2015 07:17:57 +0000 (09:17 +0200)
But all users of this function take result like "HRESULT".

src/vm/threads.h

index d4a41be..355051d 100644 (file)
@@ -5555,7 +5555,7 @@ public:
     {
     }
 
-    BOOL AcquireNoThrow()
+    HRESULT AcquireNoThrow()
     {
         WRAPPER_NO_CONTRACT;