From 5bc16dda2d693f03e5dcd01203546f75401ff992 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Mon, 12 Oct 2020 15:38:44 +0200 Subject: [PATCH] remove aggregation edge kind it can be removed because it is never stored to or read from the database --- core/include/EdgeKind.h | 3 +-- core/src/EdgeKind.cpp | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/include/EdgeKind.h b/core/include/EdgeKind.h index 26d77ce..445da5c 100644 --- a/core/include/EdgeKind.h +++ b/core/include/EdgeKind.h @@ -41,8 +41,7 @@ namespace sourcetrail TEMPLATE_SPECIALIZATION = 1 << 7, INCLUDE = 1 << 8, IMPORT = 1 << 9, - AGGREGATION = 1 << 10, - MACRO_USAGE = 1 << 11, + MACRO_USAGE = 1 << 11, // needs new db version if decremented ANNOTATION_USAGE = 1 << 12 }; diff --git a/core/src/EdgeKind.cpp b/core/src/EdgeKind.cpp index d147a0b..ab859c1 100644 --- a/core/src/EdgeKind.cpp +++ b/core/src/EdgeKind.cpp @@ -38,7 +38,6 @@ namespace sourcetrail EdgeKind::TEMPLATE_SPECIALIZATION, EdgeKind::INCLUDE, EdgeKind::IMPORT, - EdgeKind::AGGREGATION, EdgeKind::MACRO_USAGE };