projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleaned up the ambiguous synthetic example.
[mtp.git]
/
path.cc
diff --git
a/path.cc
b/path.cc
index
d38b88b
..
ab69018
100644
(file)
--- a/
path.cc
+++ b/
path.cc
@@
-18,11
+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() {