From 6aaa1163bbc2431bffd0543be7e90a644fdfc805 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 24 Dec 2016 18:03:40 +0330 Subject: added a constructor for the struct that was causing incompatibility with c++11 --- mutator-lvl0.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp index ae71574..53a137c 100644 --- a/mutator-lvl0.cpp +++ b/mutator-lvl0.cpp @@ -3037,6 +3037,16 @@ public: private: struct MaybeLocalObjInfo { + MaybeLocalObjInfo(SourceLocation iObjSL, FullSourceLoc iObjFSL, std::string iObjSLStr, std::string iObjNameStr, std::string iFirstDaddyName, bool iHasMoreThanOneDaddy = false) + { + ObjSL = iObjSL; + ObjFSL = iObjFSL; + ObjSLStr = iObjSLStr; + ObjNameStr = iObjNameStr; + FirstDaddyName = iFirstDaddyName; + HasMoreThanOneDaddy = iHasMoreThanOneDaddy; + } + SourceLocation ObjSL; FullSourceLoc ObjFSL; std::string ObjSLStr; -- cgit v1.2.3