fixed column literal

This commit is contained in:
Sascha Kühl 2025-10-28 13:14:50 +01:00
parent 93785a6bc2
commit cb95b974fc
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ column operator ""_col(const char *name, size_t len) {
throw std::invalid_argument("Invalid column name: multiple dots found"); throw std::invalid_argument("Invalid column name: multiple dots found");
} }
return column{str.substr(0, pos), str.substr(pos + 1)}; return column{table{str.substr(0, pos)}, str.substr(pos + 1)};
} }
column::column(const char *name, const std::string& as) column::column(const char *name, const std::string& as)