Fix inconsistent EOL
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#pragma once
|
||||
#include <stddef.hpp>
|
||||
|
||||
namespace JabyEngine {
|
||||
using word_t = uint32_t;
|
||||
|
||||
static constexpr size_t bytes_to_words(size_t bytes) {
|
||||
return bytes/sizeof(word_t);
|
||||
}
|
||||
|
||||
static constexpr size_t words_to_bytes(size_t words) {
|
||||
return words*sizeof(word_t);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma once
|
||||
#include <stddef.hpp>
|
||||
|
||||
namespace JabyEngine {
|
||||
using word_t = uint32_t;
|
||||
|
||||
static constexpr size_t bytes_to_words(size_t bytes) {
|
||||
return bytes/sizeof(word_t);
|
||||
}
|
||||
|
||||
static constexpr size_t words_to_bytes(size_t words) {
|
||||
return words*sizeof(word_t);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user