From d87a809f1d7764ce9e7e70c1f6c7b05cd29209cd Mon Sep 17 00:00:00 2001 From: wuxx1279 Date: Mon, 23 Nov 2026 15:42:13 -0600 Subject: [PATCH] noop_snippet: qualify std::vector noop_snippet.cpp uses vector unqualified. It only compiles because Dyninst's installed PatchCommon.h (included through PatchMgr.h) has "using std::vector;" at global scope. dyninst/dyninst#2629 removes the std using-declarations from the installed headers, and with it this file fails to build: noop_snippet.cpp:51:3: error: 'vector' was not declared in this scope Write std::vector. It compiles against Dyninst with or without that change. Co-Authored-By: Claude Opus 5.5 --- insertSnippet/noop_snippet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insertSnippet/noop_snippet.cpp b/insertSnippet/noop_snippet.cpp index 00265dd..c399468 100644 --- a/insertSnippet/noop_snippet.cpp +++ b/insertSnippet/noop_snippet.cpp @@ -48,7 +48,7 @@ int main(int argc, const char* argv[]) { dpa::PatchMgrPtr patchMgr = dpa::convert(image); - vector objects; + std::vector objects; image->getObjects(objects); std::cout << "Found " << objects.size() << " objects\n";