Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
236e90e3
Commit
236e90e3
authored
Nov 12, 2012
by
Davis King
Browse files
Fixed compiler error with the cmd_line_parser and global swap() introduced
in the last change.
parent
e9e0b65d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
dlib/cmd_line_parser.h
dlib/cmd_line_parser.h
+8
-0
No files found.
dlib/cmd_line_parser.h
View file @
236e90e3
...
...
@@ -63,6 +63,14 @@ namespace dlib
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment