mirror of https://github.com/davisking/dlib.git
Fixed compiler error with the cmd_line_parser and global swap() introduced
in the last change.
This commit is contained in:
parent
e9e0b65d6f
commit
236e90e3f0
|
@ -63,6 +63,14 @@ namespace dlib
|
||||||
typedef cmd_line_parser check_1a_c;
|
typedef cmd_line_parser check_1a_c;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <
|
||||||
|
typename charT
|
||||||
|
>
|
||||||
|
inline void swap (
|
||||||
|
cmd_line_parser<charT>& a,
|
||||||
|
cmd_line_parser<charT>& b
|
||||||
|
) { a.swap(b); }
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
typedef cmd_line_parser<char> command_line_parser;
|
typedef cmd_line_parser<char> command_line_parser;
|
||||||
|
|
Loading…
Reference in New Issue