Fixed typo and alignment issues on aarch64
This commit is contained in:
parent
d280a7616c
commit
f68724c7b9
|
@ -35,7 +35,7 @@ namespace beedb::concurrency
|
|||
*
|
||||
* The time "0" in combination with the set committed flag indicates "infinity".
|
||||
*/
|
||||
class timestamp
|
||||
class alignas(64) timestamp
|
||||
{
|
||||
public:
|
||||
using timestamp_t = std::uint64_t;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
namespace beedb::storage
|
||||
{
|
||||
class RecordIdentifier
|
||||
class alignas(64) RecordIdentifier
|
||||
{
|
||||
public:
|
||||
static_assert(sizeof(Page::id_t) + sizeof(std::uint16_t) <= sizeof(std::uint64_t));
|
||||
|
|
|
@ -112,7 +112,7 @@ bool ClientConsole::handle_response(const std::string &response)
|
|||
}
|
||||
else if (server_response->type() == ServerResponse::Type::ServerClosed)
|
||||
{
|
||||
std::cout << "Server sopped." << std::endl;
|
||||
std::cout << "Server stopped." << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue