summaryrefslogtreecommitdiffstats
path: root/mtp/btree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mtp/btree.cpp')
-rwxr-xr-xmtp/btree.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/mtp/btree.cpp b/mtp/btree.cpp
index e53afab98..b73789bd4 100755
--- a/mtp/btree.cpp
+++ b/mtp/btree.cpp
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-#include <iostream>
#include <utils/threads.h>
#include "btree.hpp"
#include "MtpDebug.h"
@@ -60,7 +59,7 @@ Node* Tree::findEntryByName(std::string name) {
}
Node* Tree::findNode(MtpObjectHandle handle) {
- std::map<MtpObjectHandle, Node*>::iterator it = entries.find(handle);
+ std::map<MtpObjectHandle, Node*>::iterator it = entries.find(handle);
if (it != entries.end())
return it->second;
return NULL;
@@ -72,7 +71,7 @@ void Tree::getmtpids(MtpObjectHandleList* mtpids) {
}
void Tree::deleteNode(MtpObjectHandle handle) {
- std::map<MtpObjectHandle, Node*>::iterator it = entries.find(handle);
+ std::map<MtpObjectHandle, Node*>::iterator it = entries.find(handle);
if (it != entries.end()) {
delete it->second;
entries.erase(it);