Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/system/Cast.h')
-rw-r--r--source/blender/freestyle/intern/system/Cast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/system/Cast.h b/source/blender/freestyle/intern/system/Cast.h
index 8318633c4b5..44fd86a9b43 100644
--- a/source/blender/freestyle/intern/system/Cast.h
+++ b/source/blender/freestyle/intern/system/Cast.h
@@ -27,8 +27,9 @@ namespace Freestyle {
namespace Cast {
template<class T, class U> U *cast(T *in)
{
- if (!in)
+ if (!in) {
return NULL;
+ }
return dynamic_cast<U *>(in);
}
} // end of namespace Cast