summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-02-26 17:58:01 -0500
committerGlenn Smith <glenn@vector35.com>2021-07-01 00:06:44 -0400
commiteb1b1db886babc038fb00985718f5869afb44c19 (patch)
tree39b128c22bbc6048b0219443fece81352c0acfc2 /binaryview.cpp
parent0d5ce53be355905aa9c1b3eae5c3ec8030613c7c (diff)
Change tag ids to string
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index 476b897b..63e73ad1 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -2431,9 +2431,9 @@ void BinaryView::RemoveTag(Ref<Tag> tag, bool user)
}
-Ref<Tag> BinaryView::GetTag(uint64_t tagId)
+Ref<Tag> BinaryView::GetTag(const string& tagId)
{
- BNTag* tag = BNGetTag(m_object, tagId);
+ BNTag* tag = BNGetTag(m_object, tagId.c_str());
if (!tag)
return nullptr;