projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The main command now loads a tracker file, and mtp_example produces it.
[mtp.git]
/
path.cc
diff --git
a/path.cc
b/path.cc
index
1c5ecd1
..
ab69018
100644
(file)
--- a/
path.cc
+++ b/
path.cc
@@
-18,9
+18,9
@@
#include "path.h"
-Path::Path(int
l
) {
-
length = l
;
- nodes = new int[
length
];
+Path::Path(int
n
) {
+
nb_nodes = n
;
+ nodes = new int[
nb_nodes
];
}
Path::~Path() {