undertaker/undertaker-const.patch
2015-02-09 20:10:31 -07:00

10 lines
480 B
Diff

--- ./undertaker/ConditionalBlock.h.orig 2014-11-26 07:04:53.000000000 -0700
+++ ./undertaker/ConditionalBlock.h 2015-02-09 20:00:00.000000000 -0700
@@ -72,6 +72,7 @@ public:
* \return map with defined symbol to define object
*/
DefineMap *getDefines() { return &define_map; };
+ const DefineMap *getDefines() const { return &define_map; };
//! \return filename given in the constructor
const std::string &getFilename() const { return filename; };