Index: base/win/scoped_handle.h |
diff --git a/base/win/scoped_handle.h b/base/win/scoped_handle.h |
index 3bb0279648aef9c785a440659c2336b893606ce4..06fdb57d3790054935017f1cfaa4deb341167756 100644 |
--- a/base/win/scoped_handle.h |
+++ b/base/win/scoped_handle.h |
@@ -57,11 +57,11 @@ class ScopedHandle { |
handle_ = new_handle; |
} |
- HANDLE Get() { |
+ HANDLE Get() const { |
return handle_; |
} |
- operator HANDLE() { return handle_; } |
+ operator HANDLE() const { return handle_; } |
cpu_(ooo_6.6-7.5)
2012/01/19 20:56:05
can you make it so it looks like Get()? line-wise
|
HANDLE Take() { |
// transfers ownership away from this object |