]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/beatcounter.cpp
Put everything in namespace Msp::DemoScene
[libs/demoscene.git] / source / beatcounter.cpp
index e984034966b000158593ed9bc2407667ecb65966..d914c201790c279e116ae0e627bebde2f79afe5d 100644 (file)
@@ -1,7 +1,8 @@
 #include <msp/strings/format.h>
 #include "beatcounter.h"
 
-using namespace Msp;
+namespace Msp {
+namespace DemoScene {
 
 BeatCounter::BeatCounter(Resources &resources):
        text(resources.get_ui_font(), &resources.get_ui_text_technique()),
@@ -20,3 +21,6 @@ void BeatCounter::render(GL::Renderer &renderer, const GL::Tag &tag) const
 {
        instance.render(renderer, tag);
 }
+
+} // namespace DemoScene
+} // namespace Msp