ostream: quote more strings

This commit is contained in:
Danny Robson 2019-03-02 23:01:28 +11:00
parent ce02f21614
commit 8e115d3c77

View File

@ -132,8 +132,8 @@ operator<< (std::ostream &os, const VkPhysicalDeviceLimits &l)
std::ostream&
operator<< (std::ostream &os, const VkPhysicalDeviceProperties &p)
{
os << "{ api: "; write_version (os, p.apiVersion);
os << ", driver: "; write_version (os, p.driverVersion);
os << "{ api: '"; write_version (os, p.apiVersion) << "'";
os << ", driver: '"; write_version (os, p.driverVersion) << "'";
os << ", vendor: 0x" << std::hex << std::setw (4) << std::setfill ('0') << p.vendorID << std::dec;
os << ", device: 0x" << std::hex << std::setw (4) << std::setfill ('0') << p.deviceID << std::dec;
os << ", name: '" << p.deviceName << "'";