Commit e6058bb4 authored by Pavel Vainerman's avatar Pavel Vainerman Committed by Pavel Vainerman

make style

parent 6f13253b
......@@ -732,7 +732,8 @@ string uniset::BadSymbolsToStr()
return bad;
}
// ---------------------------------------------------------------------------------------------------------------
struct keys_t {
struct keys_t
{
uniset::ObjectId id;
uniset::ObjectId node;
......@@ -740,11 +741,11 @@ struct keys_t {
id(_id),
node(_node)
{}
};
} __attribute__((packed));
uniset::KeyType uniset::key( const uniset::ObjectId id, const uniset::ObjectId node )
{
keys_t k(id,node);
keys_t k(id, node);
return uniset::hash64( reinterpret_cast<char*>(&k), sizeof(k) );
}
// ---------------------------------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment