-
Jon Olav Hauglid authored
Avoid casting away constness using C-style cast. Either use const consistently or explicitly remove const with const_cast. This patch also turns on -Wcast-qual when compiling with GCC or Clang (all versions). Patch 20. Change-Id: Ia65b91df6e5566716b249a00a2c3bef0e8a19042
Jon Olav Hauglid authoredAvoid casting away constness using C-style cast. Either use const consistently or explicitly remove const with const_cast. This patch also turns on -Wcast-qual when compiling with GCC or Clang (all versions). Patch 20. Change-Id: Ia65b91df6e5566716b249a00a2c3bef0e8a19042
Loading