Skip to content

Commit ad9386a

Browse files
committed
Minor fix to two accessors so they return refs vs. copies.
1 parent 82d2c35 commit ad9386a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transcoder/basisu_transcoder_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ namespace basist
264264
}
265265

266266
const basisu::uint8_vec &get_code_sizes() const { return m_code_sizes; }
267-
const basisu::int_vec get_lookup() const { return m_lookup; }
268-
const basisu::int16_vec get_tree() const { return m_tree; }
267+
const basisu::int_vec &get_lookup() const { return m_lookup; }
268+
const basisu::int16_vec &get_tree() const { return m_tree; }
269269

270270
bool is_valid() const { return m_code_sizes.size() > 0; }
271271

0 commit comments

Comments
 (0)