summaryrefslogtreecommitdiffstats
path: root/mmss/mmss.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-07-27 14:21:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-07-27 14:21:46 +0200
commit49652b9e2882a1c3cd5203ea91f90cdd32a090e9 (patch)
tree81bedb0a0eda97edfab1d34cc93035780b7bbb74 /mmss/mmss.cpp
parenta7ccec3fefe1c01cf238a3c0931459a54c2ff3a3 (diff)
downloadgmrf-49652b9e2882a1c3cd5203ea91f90cdd32a090e9.tar
gmrf-49652b9e2882a1c3cd5203ea91f90cdd32a090e9.zip
Some changes in memory management
Diffstat (limited to 'mmss/mmss.cpp')
-rw-r--r--mmss/mmss.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmss/mmss.cpp b/mmss/mmss.cpp
index 0e3b230..bbdb0ca 100644
--- a/mmss/mmss.cpp
+++ b/mmss/mmss.cpp
@@ -59,7 +59,7 @@ void main(int argc, char *argv[]) {
std::exit(1);
}
- const protocol_t *proto = load_protocol(argv[1]);
+ std::shared_ptr<const protocol_t> proto = load_protocol(argv[1]);
if (!proto)
std::exit(1);