From 99f0d6674c31b861b1e4d9a311f0d13b7ca161a3 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Tue, 31 May 2005 15:51:45 +0000 Subject: [PATCH] fix dmc need const git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@34460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/ole/oleutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index b7d50009df..7924b1bb69 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -73,7 +73,7 @@ public: wxAutoULong(ULONG value = 0) : m_Value(value) { } operator ULONG&() { return m_Value; } - ULONG& operator=(ULONG value) { return m_Value = value; } + const ULONG& operator=(ULONG value) { return m_Value = value; } wxAutoULong& operator++() { ++m_Value; return *this; } const wxAutoULong operator++( int ) { wxAutoULong temp = *this; ++m_Value; return temp; }