Skip to content

Commit

Permalink
Minor fix to two accessors so they return refs vs. copies.
Browse files Browse the repository at this point in the history
  • Loading branch information
richgel999 committed Apr 27, 2023
1 parent 82d2c35 commit ad9386a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transcoder/basisu_transcoder_internal.h
Expand Up @@ -264,8 +264,8 @@ namespace basist
}

const basisu::uint8_vec &get_code_sizes() const { return m_code_sizes; }
const basisu::int_vec get_lookup() const { return m_lookup; }
const basisu::int16_vec get_tree() const { return m_tree; }
const basisu::int_vec &get_lookup() const { return m_lookup; }
const basisu::int16_vec &get_tree() const { return m_tree; }

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

Expand Down

0 comments on commit ad9386a

Please sign in to comment.