Debugger::IsJustMyCode() is const now
authorAndrey Okoshkin <a.okoshkin@samsung.com>
Mon, 5 Feb 2018 06:56:06 +0000 (09:56 +0300)
committerAndrey Okoshkin <a.okoshkin@samsung.com>
Mon, 5 Feb 2018 06:56:06 +0000 (09:56 +0300)
src/debug/netcoredbg/debugger.h
src/debug/netcoredbg/manageddebugger.h

index fd8fe4ea1376360182133870b1f13e30c643b70f..962a4d12c4410c7499eb63e149a2a8e99604d3ee 100644 (file)
@@ -24,7 +24,7 @@ public:
 
     virtual ~Debugger() {}
 
-    virtual bool IsJustMyCode() = 0;
+    virtual bool IsJustMyCode() const = 0;
     virtual void SetJustMyCode(bool enable) = 0;
 
     virtual HRESULT Initialize() = 0;
index c3a2e886cddf708c6600ee78b21f2cdc423fe94b..14ecb116799a35a9352e94495f94cdef0e201613 100644 (file)
@@ -400,7 +400,7 @@ public:
 
     void SetProtocol(Protocol *protocol) { m_protocol = protocol; }
 
-    bool IsJustMyCode() override { return m_justMyCode; }
+    bool IsJustMyCode() const override { return m_justMyCode; }
     void SetJustMyCode(bool enable) override { m_justMyCode = enable; }
 
     HRESULT Initialize() override;