Skip to content

Commit

Permalink
moved set_verbose to .hpp to avoid unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
karasikov committed Jan 23, 2023
1 parent d11abfa commit feef39f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion include/sdsl/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace util
//SDSL_UNUSED
static bool verbose = false;

void set_verbose();
inline void set_verbose() { verbose = true; }

//============ Manipulating int_vectors ===================

Expand Down
5 changes: 0 additions & 5 deletions lib/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ std::string to_latex_string(unsigned char c)
return to_string(c);
}

void set_verbose()
{
verbose = true;
}

size_t file_size(const std::string& file)
{
if (is_ram_file(file)) {
Expand Down

0 comments on commit feef39f

Please sign in to comment.