better status
parent
afab2f8043
commit
e8b6210034
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
include(cmake/color.cmake)
|
||||
set(BLT_VERSION 5.2.18)
|
||||
set(BLT_VERSION 5.2.19)
|
||||
|
||||
set(BLT_TARGET BLT)
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ namespace blt::logging
|
|||
void status_progress_bar_t::set_progress(const double progress)
|
||||
{
|
||||
if (std::isnan(progress) || progress < 0 || progress > 1 || std::isinf(progress))
|
||||
throw std::invalid_argument("progress must be between 0 and 1");
|
||||
throw std::invalid_argument("Progress must be between 0 and 1 (got: " + std::to_string(progress) + ")");
|
||||
m_progress = progress;
|
||||
// m_status->redraw();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue