Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
simaosanguinho committed Dec 13, 2023
1 parent a77225f commit 3e08f2c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/server/server_auction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,10 @@ AuctionManager::listUserAuctions(std::string userID) {
AuctionManager auctionManager;

auctions = auctionManager.listAuctions();
std::cout << "LALALALLALAL" << std::endl;
std::cout << "auctions size: " << auctions.size() << std::endl;
for (auto auction : auctions) {
std::string auctionInfo = auctionManager.getAuctionInfo(auction.first);
std::string auctionOwner = auctionInfo.substr(0, auctionInfo.find(" "));
std::cout << "auction owner: " << auctionOwner << std::endl;
if (auctionOwner == userID) {
std::cout << "AUCTION MATCH" << std::endl;
userAuctions.push_back(auction);
}
}
Expand Down

0 comments on commit 3e08f2c

Please sign in to comment.