mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
ECS System WIP
This commit is contained in:
11
registry/NameLiteral.h
Normal file
11
registry/NameLiteral.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#include "FName.h"
|
||||
#include "NameHash.h"
|
||||
|
||||
consteval FName operator"" _name(const char* str, std::size_t len)
|
||||
{
|
||||
return FName{ HashLiteral(str, len) };
|
||||
}
|
||||
Reference in New Issue
Block a user