[apps] Add missing min/max redefinition

This commit is contained in:
Émilie Feral
2018-09-04 11:59:09 +02:00
committed by LeaNumworks
parent b2b0f4fab0
commit 0b71e92625
2 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,9 @@
using namespace Poincare;
static inline int min(int x, int y) { return (x<y ? x : y); }
static inline int max(int x, int y) { return (x>y ? x : y); }
namespace Shared {
StoreController::ContentView::ContentView(DoublePairStore * store, Responder * parentResponder, TableViewDataSource * dataSource, SelectableTableViewDataSource * selectionDataSource, TextFieldDelegate * textFieldDelegate) :