From 2ffb5b2af095f667263ec96564b573eaf1f482d0 Mon Sep 17 00:00:00 2001 From: Wojciech Baranowski Date: Mon, 25 Nov 2019 09:54:40 +0000 Subject: [PATCH] update readme: REFERENCE_CALL -> ReferenceKind::CALL (#21) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd90868..d4271b0 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ int contextSymbolId = writer.recordSymbol({ "::", { { "", "Bar", "" }, { "void", int referencedSymbolId = writer.recordSymbol({ "::", { { "void", "foo", "()" } } }); // edges always go from the context to the referenced symbol -int referenceId = writer.recordReference(contextSymbolId, referencedSymbolId, sourcetrail::REFERENCE_CALL); +int referenceId = writer.recordReference(contextSymbolId, referencedSymbolId, sourcetrail::ReferenceKind::CALL); // add a location to the reference - highlights the location in the code view when clicking the edge in the graph view int fileId = writer.recordFile("C:/example/Bar.cpp");