From e1472a258d431985197bcceb53ebe85722320837 Mon Sep 17 00:00:00 2001 From: Tom Janson Date: Sun, 18 Dec 2016 00:01:54 +0100 Subject: [PATCH] use pybind11::literals namespace --- src/common.h | 1 + src/utility/shortestPaths.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.h b/src/common.h index e81b417..6be9148 100644 --- a/src/common.h +++ b/src/common.h @@ -13,6 +13,7 @@ #include namespace py = pybind11; +using namespace pybind11::literals; #if PY_MAJOR_VERSION >= 3 #define PY_DIV "__truediv__" diff --git a/src/utility/shortestPaths.cpp b/src/utility/shortestPaths.cpp index 13b8c34..89caa27 100644 --- a/src/utility/shortestPaths.cpp +++ b/src/utility/shortestPaths.cpp @@ -3,7 +3,6 @@ #include -using namespace pybind11::literals; void define_ksp(py::module& m) {