mirror of
https://github.com/fraillt/bitsery.git
synced 2026-10-01 06:25:29 +00:00
Fix various grammatical and spelling mistakes within the docs
This commit is contained in:
committed by
Arek Sredzki
parent
a6dad0885f
commit
fac2c8a7ce
@@ -124,7 +124,7 @@ namespace bitsery {
|
||||
void directRead(T *v, size_t count) {
|
||||
static_assert(!std::is_const<T>::value, "");
|
||||
_inputAdapter.read(reinterpret_cast<TValue *>(v), sizeof(T) * count);
|
||||
//swap each byte if nessesarry
|
||||
//swap each byte if necessary
|
||||
_swapDataBits(v, count, std::integral_constant<bool,
|
||||
Config::NetworkEndianness != details::getSystemEndianness()>{});
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
namespace bitsery {
|
||||
|
||||
/*
|
||||
* endianess
|
||||
* endianness
|
||||
*/
|
||||
enum class EndiannessType {
|
||||
LittleEndian,
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace bitsery {
|
||||
NotDefinedType(T&& ...){}
|
||||
NotDefinedType() = default;
|
||||
//define operators so that we also swallow deeper errors, to reduce error stack
|
||||
//this time will be used as iterator, so define all operators nessesarry to work with iterators
|
||||
//this time will be used as iterator, so define all operators necessary to work with iterators
|
||||
friend bool operator == (const NotDefinedType&, const NotDefinedType&) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user