From 8381d8262ef2da1393b66e66282e882741ebe2db Mon Sep 17 00:00:00 2001
From: ilor <kailoran@gmail.com>
Date: Wed, 20 Oct 2010 16:10:17 +0200
Subject: [PATCH] fix typo-bug in Tag::get_masked

---
 libcorpus2/tag.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/libcorpus2/tag.h b/libcorpus2/tag.h
index 6fc8f8c..d11e676 100644
--- a/libcorpus2/tag.h
+++ b/libcorpus2/tag.h
@@ -90,8 +90,7 @@ public:
 		values_ |= v;
 	}
 
-	void add_values_masked(mask_t value, mask_t mask)
-	{
+	void add_values_masked(mask_t value, mask_t mask) {
 		//values_ = (values_ & ~mask) | (value & mask);
 		//see http://graphics.stanford.edu/~seander/bithacks.html#MaskedMerge
 		values_ = values_ ^ ((values_ ^ value) & mask);
@@ -116,7 +115,7 @@ public:
 
 	Tag get_masked(const Tag& other) const {
 		Tag t(*this);
-		return t.get_masked(other);
+		return t.mask_with(other);
 	}
 
 	/// debug aid, dump the tag's internal numeric representation
-- 
GitLab