From 806173185161e606cd1081a96eabf1b7b5edc727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Sat, 27 Apr 2019 15:59:35 +0200 Subject: [PATCH] fix bug where two classes got the same name --- src/ctags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctags.cpp b/src/ctags.cpp index f2a3596..17c8199 100644 --- a/src/ctags.cpp +++ b/src/ctags.cpp @@ -281,7 +281,7 @@ std::vector Ctags::get_locations(const boost::filesystem::path void Ctags::init_module(py::module &api) { py::class_ ctags(api, "Ctags"); - py::class_(api, "Ctags") + py::class_(api, "Location") .def_readwrite("file_path", &Ctags::Location::file_path) .def_readwrite("line", &Ctags::Location::line) .def_readwrite("index", &Ctags::Location::index)