Commit Graph

4 Commits (81f2402e66cdc9c21dd81e7126b29a06dbd56d59)

Author SHA1 Message Date
Shi Han a90e3b8c3b Move from std::atoi to std::from_char 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid b0f192d878
Fix warning: maybe-uninitialized
../../components/misc/color.cpp: In static member function 'static Misc::Color Misc::Color::fromHex(std::string_view)':
../../components/misc/color.cpp:36:24: error: 'v' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   36 |             rgb[i] = v / 255.0f;
      |                      ~~^~~~~~~~
3 years ago
uramer d1d8f058ac Lua bindings for Colours 3 years ago