more flexible function creation syntax
diff --git a/include/pybind/operators.h b/include/pybind/operators.h
index 08fcd99..9e3011a 100644
--- a/include/pybind/operators.h
+++ b/include/pybind/operators.h
@@ -7,10 +7,9 @@
BSD-style license that can be found in the LICENSE file.
*/
-#if !defined(__PYBIND_OPERATOR)
-#define __PYBIND_OPERATOR
+#pragma once
-#include "pybind.h"
+#include <pybind/pybind.h>
#include <type_traits>
NAMESPACE_BEGIN(pybind)
@@ -147,5 +146,3 @@
using detail::self;
NAMESPACE_END(pybind)
-
-#endif /* __PYBIND_OPERATOR */