From 3e0c0688e994efe9a7d6cb302b36d88b0d77b283 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. llvm-svn: 296055 --- llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp index cd0f928a08ab5..ba09a8e28424a 100644 --- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/llvm/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 {