From 8bb35a601690c40e352d1b1e37ee955bbbb46a02 Mon Sep 17 00:00:00 2001 From: Sumant Hanumante Date: Thu, 31 Mar 2022 13:27:06 -0700 Subject: [PATCH] Update image_io.h --- cvd/image_io.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cvd/image_io.h b/cvd/image_io.h index c2cc9330..cdb3963d 100644 --- a/cvd/image_io.h +++ b/cvd/image_io.h @@ -115,7 +115,7 @@ Image img_load(std::istream& i); /// @param i The istream to load from /// @ingroup gImageIO template -Image img_load(std::string& i); +Image img_load(const std::string& i); #endif @@ -243,7 +243,7 @@ Internal::ImagePromise> img_load(std } template -Internal::ImagePromise> img_load(std::string& i) +Internal::ImagePromise> img_load(const std::string& i) { return i; } @@ -253,7 +253,7 @@ inline Internal::ImagePromise> img_load(std::string& i) +inline Internal::ImagePromise> img_load(const std::string& i) { return i; }