Skip to content

Commit 971b8ba

Browse files
committed
bv_utilst::sign_extension and zero_extension can be static
1 parent 3c74995 commit 971b8ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solvers/flattening/bv_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,12 @@ class bv_utilst
179179
static bvt
180180
extension(const bvt &bv, std::size_t new_size, representationt rep);
181181

182-
bvt sign_extension(const bvt &bv, std::size_t new_size)
182+
static bvt sign_extension(const bvt &bv, std::size_t new_size)
183183
{
184184
return extension(bv, new_size, representationt::SIGNED);
185185
}
186186

187-
bvt zero_extension(const bvt &bv, std::size_t new_size)
187+
static bvt zero_extension(const bvt &bv, std::size_t new_size)
188188
{
189189
return extension(bv, new_size, representationt::UNSIGNED);
190190
}

0 commit comments

Comments
 (0)