You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/components/misc
elsid 89eccab7f1
Add missing include
In file included from /home/elsid/dev/openmw/apps/openmw_test_suite/settings/testvalues.cpp:1:
/home/elsid/dev/openmw/components/misc/strings/conversion.hpp: In function ‘std::string Misc::StringUtils::toHex(std::string_view)’:
/home/elsid/dev/openmw/components/misc/strings/conversion.hpp:139:87: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
  139 |             const std::ptrdiff_t space = static_cast<std::ptrdiff_t>(static_cast<std::uint8_t>(v) <= 0xf);
      |                                                                                       ^~~~~~~
      |                                                                                       wint_t
/home/elsid/dev/openmw/components/misc/strings/conversion.hpp:140:97: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
  140 |             const auto [ptr, ec] = std::to_chars(out + space, out + space + 2, static_cast<std::uint8_t>(v), 16);
      |                                                                                                 ^~~~~~~
      |                                                                                                 wint_t
1 year ago
..
strings Add missing include 1 year ago
algorithm.hpp Apply clang-format to code base 2 years ago
barrier.hpp Apply clang-format to code base 2 years ago
budgetmeasurement.hpp Apply clang-format to code base 2 years ago
color.cpp Move from std::atoi to std::from_char 1 year ago
color.hpp Apply clang-format to code base 2 years ago
compression.cpp Apply clang-format to code base 2 years ago
compression.hpp Add functions to compress/decompress vector of bytes 3 years ago
constants.hpp Increase ESM4 active grid 1 year ago
convert.hpp Apply clang-format to code base 2 years ago
coordinateconverter.hpp Applied review comments 1 year ago
endianness.hpp Apply clang-format to code base 2 years ago
frameratelimiter.hpp Apply clang-format to code base 2 years ago
guarded.hpp Apply clang-format to code base 2 years ago
hash.hpp Applies review advice 1 year ago
helpviewer.cpp Apply clang-format to code base 2 years ago
helpviewer.hpp Apply clang-format to code base 2 years ago
math.hpp Remove unnecessary loops from path 2 years ago
mathutil.hpp po2 scaling for average luminance 1 year ago
messageformatparser.cpp Make getStringLiteral return a string_view 2 years ago
messageformatparser.hpp Apply clang-format to code base 2 years ago
notnullptr.hpp Make constexpr Misc::NotNullptr member functions 1 year ago
objectpool.hpp Apply clang-format to code base 2 years ago
osguservalues.cpp allow soft particles on meshes and add extra data extensions 2 years ago
osguservalues.hpp allow soft particles on meshes and add extra data extensions 2 years ago
pathhelpers.hpp Add a dictionary to retrieve the LOD mesh name of a mesh cache 2 years ago
progressreporter.hpp Apply clang-format to code base 2 years ago
resourcehelpers.cpp Fix case sensitive comparison 1 year ago
resourcehelpers.hpp Convert RefId to class 1 year ago
rng.cpp Remove unused includes 2 years ago
rng.hpp Apply clang-format to code base 2 years ago
strongtypedef.hpp Apply clang-format to code base 2 years ago
thread.cpp Remove strerror usages 1 year ago
thread.hpp Minor header cleanup 1 year ago
timeconvert.hpp Handle localtime errors 2 years ago
timer.hpp Apply clang-format to code base 2 years ago
tuplehelpers.hpp typo 2 years ago
tuplemeta.hpp moves one function from tuplemeta.hpp to newly created tuplehelpers.hpp 2 years ago
typetraits.hpp Apply clang-format to code base 2 years ago
utf8qtextstream.hpp Move ensureUtf8Encoding to named namespace 1 year ago
utf8stream.hpp Apply clang-format to code base 2 years ago
weakcache.hpp Apply clang-format to code base 2 years ago