diff --git a/include/boost/python/suite/indexing/slice.hpp b/include/boost/python/suite/indexing/slice.hpp index d7d49596..1ed5a149 100755 --- a/include/boost/python/suite/indexing/slice.hpp +++ b/include/boost/python/suite/indexing/slice.hpp @@ -30,9 +30,11 @@ namespace boost { namespace python { namespace indexing { // A newly constructed slice object is useless until setLength is called // - template slice (T const &ref); + template inline slice (T const &ref); void setLength (int sequenceLength); + // Tell slice object how big the container is (so it can adjust + // for negative indexes, etc...) int start() const { validate(); return mStart; } int step() const { validate(); return mStep; }