From 159ab71495ed07e44b730511f57080cd59764d9d Mon Sep 17 00:00:00 2001 From: nanoric Date: Tue, 19 Mar 2019 06:36:18 -0400 Subject: [PATCH] =?UTF-8?q?[Fix]=20=E6=9B=B4=E6=96=B0autocxxpy=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/oes/include/autocxxpy/property_helper.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vnpy/api/oes/include/autocxxpy/property_helper.hpp b/vnpy/api/oes/include/autocxxpy/property_helper.hpp index fa020113..ce51fc01 100644 --- a/vnpy/api/oes/include/autocxxpy/property_helper.hpp +++ b/vnpy/api/oes/include/autocxxpy/property_helper.hpp @@ -19,6 +19,10 @@ namespace autocxxpy { return val; } + auto &operator()(const string_literal &val) const noexcept + { + return val; + } }; template