Fixed: Build error (non-const references to temporaries)