From 0ca20ba516998b55c5f932e0ce52774c71bccc56 Mon Sep 17 00:00:00 2001 From: Adrian McCarthy Date: Fri, 24 Feb 2017 00:25:17 +0000 Subject: [PATCH] Fix unit tests after r296049. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296055 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/DebugInfo/PDB/PDBApiTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/DebugInfo/PDB/PDBApiTest.cpp b/unittests/DebugInfo/PDB/PDBApiTest.cpp index cd0f928a08a..ba09a8e2842 100644 --- a/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/unittests/DebugInfo/PDB/PDBApiTest.cpp @@ -63,7 +63,7 @@ namespace { class MockSession : public IPDBSession { uint64_t getLoadAddress() const override { return 0; } void setLoadAddress(uint64_t Address) override {} - std::unique_ptr getGlobalScope() const override { + std::unique_ptr getGlobalScope() override { return nullptr; } std::unique_ptr getSymbolById(uint32_t SymbolId) const override { -- 2.40.0