[Mobies-commit] [commit] r4366 - UDM/trunk/src/UdmGme
ksmyth at redhat3.isis.vanderbilt.edu
ksmyth at redhat3.isis.vanderbilt.edu
Mon Nov 9 09:34:00 CST 2015
Author: ksmyth
Date: Mon Nov 9 09:34:00 2015
New Revision: 4366
Log:
const correctness
Modified:
UDM/trunk/src/UdmGme/MgaDefs.h
Modified: UDM/trunk/src/UdmGme/MgaDefs.h
==============================================================================
--- UDM/trunk/src/UdmGme/MgaDefs.h Fri Nov 6 08:41:53 2015 (r4365)
+++ UDM/trunk/src/UdmGme/MgaDefs.h Mon Nov 9 09:34:00 2015 (r4366)
@@ -32,7 +32,7 @@
//so-called error handling
-void comthrow(HRESULT res, char *e, int l);
+void comthrow(HRESULT res, const char *e, int l);
#define COMTHROW(expr) comthrow(expr, #expr, __LINE__)
class gme_exc : public udm_exception
@@ -43,7 +43,7 @@
};
-static void comthrow(HRESULT res, char *e, int l)
+static void comthrow(HRESULT res, const char *e, int l)
{
if (FAILED(res))
UdmGme::com_exception(res, NULL);
More information about the Mobies-commit
mailing list