Created
January 8, 2019 02:22
-
-
Save neheb/5e953df730492f3f79267d6e1c2eb2d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/storage/MemoryBundleStorage.cpp b/src/storage/MemoryBundleStorage.cpp | |
| index bc6029c..5023778 100644 | |
| --- a/src/storage/MemoryBundleStorage.cpp | |
| +++ b/src/storage/MemoryBundleStorage.cpp | |
| @@ -217,7 +217,7 @@ namespace dtn | |
| ibrcommon::MutexLock l(_bundleslock); | |
| // search for the bundle in the bundle list | |
| - const bundle_list::const_iterator iter = find(_bundles.begin(), _bundles.end(), id); | |
| + const bundle_list::iterator iter = find(_bundles.begin(), _bundles.end(), id); | |
| // if no bundle was found throw an exception | |
| if (iter == _bundles.end()) throw NoBundleFoundException(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment