fix compile warnings (#1042)

This commit is contained in:
Howave
2019-06-12 14:29:39 +08:00
committed by nihui
parent bade132589
commit 123ca35e00
4 changed files with 195 additions and 43 deletions
+4
View File
@@ -20,10 +20,14 @@
#include <algorithm>
#include "cpu.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Woverloaded-virtual"
#endif
#include "layer_declaration.h"
#ifdef __clang__
#pragma clang diagnostic pop
#endif
namespace ncnn {