Mercurial > hg > orthanc
comparison Core/SQLite/FunctionContext.cpp @ 3589:a648c2d67a65
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 19 Dec 2019 22:17:24 +0100 |
parents | 113a9643e8bb |
children |
comparison
equal
deleted
inserted
replaced
3588:eb48adfd931e | 3589:a648c2d67a65 |
---|---|
119 sqlite3_result_double(context_, value); | 119 sqlite3_result_double(context_, value); |
120 } | 120 } |
121 | 121 |
122 void FunctionContext::SetStringResult(const std::string& str) | 122 void FunctionContext::SetStringResult(const std::string& str) |
123 { | 123 { |
124 sqlite3_result_text(context_, str.data(), str.size(), SQLITE_TRANSIENT); | 124 sqlite3_result_text(context_, str.data(), static_cast<int>(str.size()), SQLITE_TRANSIENT); |
125 } | 125 } |
126 } | 126 } |
127 } | 127 } |