summaryrefslogtreecommitdiff
path: root/lout/container.cc
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-08-10 00:00:47 +0000
committercorvid <devnull@localhost>2014-08-10 00:00:47 +0000
commitc43632b2a5b26a96b84e7d7cd8c5f8ecffe4aa32 (patch)
treeb5f1fce42eebbb7f574970f397719aaac8b5f027 /lout/container.cc
parent80e8bbb92e7425f4fec454348e0823039a07fac0 (diff)
trim spaces
...now that floats and grows are in the repo and I won't be making Sebastian's life difficult with a bunch of whitespace changes.
Diffstat (limited to 'lout/container.cc')
-rw-r--r--lout/container.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lout/container.cc b/lout/container.cc
index db1cc560..2dd56255 100644
--- a/lout/container.cc
+++ b/lout/container.cc
@@ -229,7 +229,7 @@ int Vector::bsearch(Object *key, bool mustExist, int start, int end,
int low = start, high = end;
bool found = false;
- while (!found) {
+ while (!found) {
int index = (low + high) / 2;
int c = comparator->compare (key, array[index]);
DBG_OBJ_MSGF ("container", 1,
@@ -248,14 +248,14 @@ int Vector::bsearch(Object *key, bool mustExist, int start, int end,
result = c > 0 ? index + 1 : index;
}
}
-
+
if (c < 0)
high = index - 1;
else
low = index + 1;
}
}
- }
+ }
DBG_OBJ_MSGF ("container", 1, "result = %d", result);
DBG_OBJ_MSG_END ();