projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make all the nodes of identical size.
[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() {