From 2f7898dce6acc2aafa2b2d5b2c53222c49bbd475 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 29 Nov 2015 13:02:56 -0500 Subject: [PATCH] fixed missing return --- dlib/dnn/cuda_dlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/dnn/cuda_dlib.h b/dlib/dnn/cuda_dlib.h index 39f1bb943..a5c0ea0b6 100644 --- a/dlib/dnn/cuda_dlib.h +++ b/dlib/dnn/cuda_dlib.h @@ -141,7 +141,7 @@ namespace dlib ){} inline int get_device ( - ){} + ){ return 0; } #endif // DLIB_USE_CUDA