m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/parse.h
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-04 14:05:20 -0500
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-04 14:05:20 -0500
commit308c1fe093a3277ec74a7c0c4bf8934b7e22002b (patch)
tree5bf0f7ef4bd1f772864def2d4c73d26fef7c737e /src/parse.h
parent8c8ef97f056e268b0d186a218e61e98df1df4733 (diff)
Return Graph by const reference
Diffstat (limited to 'src/parse.h')
-rw-r--r--src/parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.h b/src/parse.h
index 3f86eec..ec86302 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -15,7 +15,7 @@ public:
}
}
- Graph get_graph() {
+ const Graph & get_graph() {
return graph_;
}
private: