Index: /trunk/Mars/mbase/MEnv.h
===================================================================
--- /trunk/Mars/mbase/MEnv.h	(revision 19259)
+++ /trunk/Mars/mbase/MEnv.h	(revision 19260)
@@ -43,4 +43,19 @@
     Double_t    GetValue(const char *name, Double_t dflt);
     const char *GetValue(const char *name, const char *dflt="");
+
+#if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,00)
+    Int_t       GetValue(const char *name, Int_t dflt) const
+    {
+        return const_cast<MEnv*>(this)->GetValue(name, dflt);
+    }
+    Double_t    GetValue(const char *name, Double_t dflt) const
+    {
+        return const_cast<MEnv*>(this)->GetValue(name, dflt);
+    }
+    const char *GetValue(const char *name, const char *dflt="") const
+    {
+        return const_cast<MEnv*>(this)->GetValue(name, dflt);
+    }
+#endif
 
     // GetValue: regexp
