dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README with newly released version url
[command.git]
/
tests
/
argument
/
handles_negative_int_value.cpp
diff --git
a/tests/argument/handles_negative_int_value.cpp
b/tests/argument/handles_negative_int_value.cpp
index f9c222f9d80caa3f43ec85b3bd616b21c3c7e064..3116526f2c752f092ad15f5c67fa5277f1d62b9a 100644
(file)
--- a/
tests/argument/handles_negative_int_value.cpp
+++ b/
tests/argument/handles_negative_int_value.cpp
@@
-11,12
+11,12
@@
typedef int ArgumentType;
ArgumentType test;
ArgumentType test;
-void function(ArgumentType value) {
+void
_
function(ArgumentType value) {
test = value;
}
int main() {
test = value;
}
int main() {
- Argument<ArgumentType> argument("Argument as negative int", function);
+ Argument<ArgumentType> argument("Argument as negative int",
_
function);
if (argument.understand(VALUE)) {
argument.handle();
if (argument.understand(VALUE)) {
argument.handle();