Mercurial > hg > orthanc
diff Core/RestApi/RestApiOutput.cpp @ 215:c07170f3f4f7
refactoring of access to images in REST
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2012 11:25:29 +0100 |
parents | b7aea293b965 |
children | e5d5d4a9a326 |
line wrap: on
line diff
--- a/Core/RestApi/RestApiOutput.cpp Thu Nov 29 11:11:53 2012 +0100 +++ b/Core/RestApi/RestApiOutput.cpp Thu Nov 29 11:25:29 2012 +0100 @@ -82,7 +82,7 @@ existingResource_ = true; } - void RestApiOutput::Redirect(const char* path) + void RestApiOutput::Redirect(const std::string& path) { CheckStatus(); output_.Redirect(path);