From b09e0c6153a4ccd7f6f828643641b78cfc793aa1 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 18 Mar 2019 16:19:30 +1100 Subject: [PATCH] cruft: update for new iterator namespaces --- ostream.cpp | 8 ++++---- tools/info.cpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ostream.cpp b/ostream.cpp index c4ea5a7..00a4008 100644 --- a/ostream.cpp +++ b/ostream.cpp @@ -12,7 +12,7 @@ #include "instance.hpp" #include "physical_device.hpp" -#include +#include #include #include @@ -81,7 +81,7 @@ cruft::vk::operator<< (std::ostream &os, const instance &i) const auto &extensions = i.extensions (); std::copy (std::cbegin (extensions), std::cend (extensions), - cruft::infix_iterator (os, ", ")); + cruft::iterator::infix_iterator (os, ", ")); return os << " ] }"; } @@ -160,10 +160,10 @@ std::ostream& cruft::vk::operator<< (std::ostream &os, const physical_device &d) { return os << "physical_device { " - << "extensions: [ " << cruft::make_infix (d.extensions ()) << " ]" + << "extensions: [ " << cruft::iterator::make_infix (d.extensions ()) << " ]" << ", properties: " << d.properties () << ", features: " << d.features () - << ", queues: [ " << cruft::make_infix (d.queue_families ()) << " ]" + << ", queues: [ " << cruft::iterator::make_infix (d.queue_families ()) << " ]" << " }"; } diff --git a/tools/info.cpp b/tools/info.cpp index 6a91290..9e5749f 100644 --- a/tools/info.cpp +++ b/tools/info.cpp @@ -7,7 +7,7 @@ * 2017-2018, Danny Robson */ -#include +#include #include #include @@ -31,9 +31,9 @@ main (int, char**) std::cout << "[ " << "available_layers: [ " - << cruft::make_infix (cruft::vk::instance::available_layers ()) + << cruft::iterator::make_infix (cruft::vk::instance::available_layers ()) << " ] }" << ", instance: " << instance - << ", devices: [ " << cruft::make_infix (cruft::vk::physical_device::find (instance)) << " ], " + << ", devices: [ " << cruft::iterator::make_infix (cruft::vk::physical_device::find (instance)) << " ], " << " } ]\n"; } \ No newline at end of file