about summary refs log tree commit diff stats
path: root/056shape_shifting_recipe.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-29 14:58:16 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-29 14:58:16 -0700
commitd41955c10821fc8f435173efe8cd355cc3693801 (patch)
tree7deaf70df200b97df0c46e65cc6f2e23495d0997 /056shape_shifting_recipe.cc
parentceb33ee40f2c210c02d59469f7146cefdb4b6fba (diff)
downloadmu-d41955c10821fc8f435173efe8cd355cc3693801.tar.gz
3279
Stop inlining functions because that will complicate separate
compilation. It also simplifies the code without impacting performance.
Diffstat (limited to '056shape_shifting_recipe.cc')
-rw-r--r--056shape_shifting_recipe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc
index 042ddb8f..3441829b 100644
--- a/056shape_shifting_recipe.cc
+++ b/056shape_shifting_recipe.cc
@@ -318,7 +318,7 @@ void compute_type_ingredient_mappings(const recipe& exemplar, const instruction&
   }
 }
 
-inline int min(int a, int b) {
+int min(int a, int b) {
   return (a < b) ? a : b;
 }