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:
authorJacques Lucke <jacques@blender.org>2020-07-03 15:25:20 +0300
committerJacques Lucke <jacques@blender.org>2020-07-03 15:25:20 +0300
commit395b294b614f43faac0ffaef167aed1b94a53b8e (patch)
treefb91d677fe1648d3646a6ba1f18e6f323aa77cd2 /source/blender/blenkernel/intern/simulation.cc
parent5fbf70b0d0c5a387d01bba4b4d536d166e16ac0e (diff)
Cleanup: use nested namespaces
Diffstat (limited to 'source/blender/blenkernel/intern/simulation.cc')
-rw-r--r--source/blender/blenkernel/intern/simulation.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/simulation.cc b/source/blender/blenkernel/intern/simulation.cc
index eef848aff72..c4a35141b0d 100644
--- a/source/blender/blenkernel/intern/simulation.cc
+++ b/source/blender/blenkernel/intern/simulation.cc
@@ -164,8 +164,7 @@ void *BKE_simulation_add(Main *bmain, const char *name)
return simulation;
}
-namespace blender {
-namespace bke {
+namespace blender::bke {
static MutableSpan<float3> get_particle_positions(ParticleSimulationState *state)
{
@@ -259,8 +258,7 @@ static void simulation_data_update(Depsgraph *depsgraph, Scene *scene, Simulatio
}
}
-} // namespace bke
-} // namespace blender
+} // namespace blender::bke
void BKE_simulation_data_update(Depsgraph *depsgraph, Scene *scene, Simulation *simulation)
{