summaryrefslogtreecommitdiffstats
path: root/ml/dlib/tools/python/src/indexing.h
blob: 3aa398f023faf70e0f67fe46c178a53a5a8f8a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (C) 2014  Davis E. King (davis@dlib.net)
// License: Boost Software License   See LICENSE.txt for the full license.
#ifndef DLIB_PYTHON_INDEXING_H__
#define DLIB_PYTHON_INDEXING_H__

namespace dlib
{
    template <typename T>
    void resize(T& v, unsigned long n) { v.resize(n); }
}
#endif // DLIB_PYTHON_INDEXING_H__