1 Star 0 Fork 0

src-anolis-dde/lucene++

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0007-boost-1.58-variant.patch 488 Bytes
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-07-14 05:55 . !1init: init package
--- LucenePlusPlus-rel_3.0.7/include/VariantUtils.h~ 2015-08-05 17:03:05.196684008 +0100
+++ LucenePlusPlus-rel_3.0.7/include/VariantUtils.h 2015-08-05 17:03:08.230687346 +0100
@@ -22,7 +22,7 @@
template <typename TYPE, typename VAR>
static TYPE get(VAR var) {
- return var.type() == typeid(TYPE) ? boost::get<TYPE>(var) : TYPE();
+ return var.type() == typeid(TYPE) ? boost::relaxed_get<TYPE>(var) : TYPE();
}
template <typename TYPE, typename VAR>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-dde/lucene.git
git@gitee.com:src-anolis-dde/lucene.git
src-anolis-dde
lucene
lucene++
a8

搜索帮助