Skip to content

Commit

Permalink
compile unix
Browse files Browse the repository at this point in the history
  • Loading branch information
dwight committed Sep 22, 2014
1 parent 5786d38 commit 886c49d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions SConstruct
Expand Up @@ -20,4 +20,6 @@ env.Program(target = 'fromcsv', source = ["src/bsontools/fromcsv.cpp"] + dep1)

env.Program(target = 'fromjson', source = ["src/bsontools/fromjson.cpp"] + dep1 + dep2)

env.Program(target = 'fromxml', source = ["src/bsontools/fromxml.cpp"] + dep1)

env.Program(target = 'bson', source = ["src/bsontools/bsonmain.cpp"] + dep1 + dep2)
2 changes: 1 addition & 1 deletion src/bsontools/bsonmain.cpp
Expand Up @@ -338,7 +338,7 @@ namespace bsontools {

class print : public StdinDocReader {
bool _pretty;
void pretty(bsonobj& b, string indent="") {
void pretty(const bsonobj& b, string indent="") {
bsonobjiterator i(b);
cout << "{\n";
while (i.more()) {
Expand Down

0 comments on commit 886c49d

Please sign in to comment.