[nostalgia] Replace unnecessary ox::Strings with ox::StringViews

This commit is contained in:
2022-12-31 15:48:47 -06:00
parent 5a09918b64
commit 6cfa8dd40d
8 changed files with 11 additions and 10 deletions
@@ -10,7 +10,7 @@
namespace nostalgia::core {
TileSheetEditorView::TileSheetEditorView(Context *ctx, const ox::String &path): m_model(ctx, path), m_pixelsDrawer(&m_model) {
TileSheetEditorView::TileSheetEditorView(Context *ctx, ox::CRStringView path): m_model(ctx, path), m_pixelsDrawer(&m_model) {
// build shaders
oxThrowError(m_pixelsDrawer.buildShader());
oxThrowError(m_pixelGridDrawer.buildShader());