diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-03-20 06:14:56 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-03-20 06:14:56 +0000 |
commit | b518c25b3e3ec03da389ca48910ded42ca1305e3 (patch) | |
tree | cbac85da99da4436cceedd26f6d06e03f153dfd4 /include/llvm/CompilerDriver/CompilationGraph.h | |
parent | 682eed0da8e42770a0e694390ba929fd4d241657 (diff) |
If a class inherits from RefCountedBaseVPTR allow all its subclasses to be used with IntrusiveRefCntPtr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver/CompilationGraph.h')
-rw-r--r-- | include/llvm/CompilerDriver/CompilationGraph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CompilerDriver/CompilationGraph.h b/include/llvm/CompilerDriver/CompilationGraph.h index e1eea325e3..951aff6f93 100644 --- a/include/llvm/CompilerDriver/CompilationGraph.h +++ b/include/llvm/CompilerDriver/CompilationGraph.h @@ -40,7 +40,7 @@ namespace llvmc { }; /// Edge - Represents an edge of the compilation graph. - class Edge : public llvm::RefCountedBaseVPTR<Edge> { + class Edge : public llvm::RefCountedBaseVPTR { public: Edge(const std::string& T) : ToolName_(T) {} virtual ~Edge() {} |