Change compare() not implemented assertion to compile time 99/237999/3
authorKonrad Lipinski <k.lipinski2@samsung.com>
Tue, 7 Jul 2020 08:28:05 +0000 (10:28 +0200)
committerLukasz Pawelczyk <l.pawelczyk@samsung.com>
Fri, 10 Jul 2020 14:21:29 +0000 (14:21 +0000)
Change-Id: I2c79edb3cd5d962784490139a996e14638fa33fb

test/common/protocols/CommonsTestHelper.h

index a43e158202df0e8ad71cc6bc7e6478732cf59d75..dec8862b8e94172e243a4081c861e94e88a8d0e8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014-2020 Samsung Electronics Co., Ltd All Rights Reserved
  *
  *    Licensed under the Apache License, Version 2.0 (the "License");
  *    you may not use this file except in compliance with the License.
 namespace {
 
 template <typename R>
-void compare(const R &r1, const R &r2) {
-    (void) r1;
-    (void) r2;
-    ASSERT_FALSE("Specialization of compare function must be implemented!");
-}
+void compare(const R &r1, const R &r2);
 
 } /* namespace anonymous */