use inline function in hpp (#2922)

This commit is contained in:
kyle-256
2025-09-26 09:29:26 +08:00
committed by GitHub
parent db2524be2d
commit b0a2d99d10

View File

@@ -16,7 +16,7 @@ enum struct QuantType : std::uint16_t
TensorQuant = 3
};
std::string quant_type_to_string(QuantType quant_type)
inline std::string quant_type_to_string(QuantType quant_type)
{
switch(quant_type)
{