-#ifndef __DALI_INTERNAL_CONSTRAINT_SOURCE_H__
-#define __DALI_INTERNAL_CONSTRAINT_SOURCE_H__
+#ifndef DALI_INTERNAL_CONSTRAINT_SOURCE_H
+#define DALI_INTERNAL_CONSTRAINT_SOURCE_H
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
struct Source;
-typedef std::vector<Source> SourceContainer;
-typedef SourceContainer::iterator SourceIter;
+using SourceContainer = std::vector<Source>;
+using SourceIter = SourceContainer::iterator;
/**
* The source of an input property for a constraint.
Source()
: sourceType( OBJECT_PROPERTY ),
propertyIndex( Property::INVALID_INDEX ),
- object( NULL )
+ object( nullptr )
{
}
Source( Dali::ConstraintSource& source )
: sourceType( source.sourceType ),
propertyIndex( source.propertyIndex ),
- object( NULL )
+ object( nullptr )
{
if ( source.object )
{
} // namespace Dali
-#endif // __DALI_INTERNAL_CONSTRAINT_SOURCE_H__
+#endif // DALI_INTERNAL_CONSTRAINT_SOURCE_H