From f046bd8361574f0823001bc06ad00032d7192ba8 Mon Sep 17 00:00:00 2001
From: znone <glyc@sina.com.cn>
Date: Tue, 14 May 2019 13:35:14 +0000
Subject: [PATCH] 提供以标准流的方式直接操纵MySQL的BLOB字段 修正一些错误

---
 include/qtl_common.hpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/qtl_common.hpp b/include/qtl_common.hpp
index 6388a17..db7c607 100644
--- a/include/qtl_common.hpp
+++ b/include/qtl_common.hpp
@@ -80,18 +80,18 @@
 	typedef typename string_type::value_type char_type;
 	bind_string_helper(string_type&& value) : m_value(std::forward<string_type>(value)) { }
 	bind_string_helper(const bind_string_helper& src)
-		: m_value(std::forward<std::string>(src.m_value))
+		: m_value(std::forward<StringT>(src.m_value))
 	{
 	}
 	bind_string_helper(bind_string_helper&& src)
-		: m_value(std::forward<std::string>(src.m_value))
+		: m_value(std::forward<StringT>(src.m_value))
 	{
 	}
 	bind_string_helper& operator=(const bind_string_helper& src)
 	{
 		if (this != &src)
 		{
-			m_value = std::forward<std::string>(src.m_value);
+			m_value = std::forward<StringT>(src.m_value);
 		}
 		return *this;
 	}
@@ -99,7 +99,7 @@
 	{
 		if (this != &src)
 		{
-			m_value = std::forward<std::string>(src.m_value);
+			m_value = std::forward<StringT>(src.m_value);
 		}
 		return *this;
 	}

--
Gitblit v1.9.3