Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit fc3edb0

Browse files
committed
now compiles with clang 3.5
1 parent 4896322 commit fc3edb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python_interpreter.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Python::Interpreter::Interpreter(){
4747
return pyobject_from_gobj(view->gobj());
4848
return pybind11::module(Py_None,false);
4949
})
50-
.def("get_file_path",[](){
50+
.def("get_file_path",[]() -> std::string {
5151
auto view=Notebook::get().get_current_view();
5252
if(view)
5353
return view->file_path.string();
54-
return std::string();
54+
return "";
5555
});
5656
api
5757
.def("get_gio_plugin_menu",[](){

0 commit comments

Comments
 (0)