]> git.sesse.net Git - movit/blobdiff - unsharp_mask_effect.cpp
Move to 'using namespace std;' in all .cpp files.
[movit] / unsharp_mask_effect.cpp
index 7c289253624b49a53ccf9f123ae87407238d71a8..115553b49f998ba0365e556c3a86a2d81df7aa94 100644 (file)
@@ -7,6 +7,8 @@
 #include "unsharp_mask_effect.h"
 #include "util.h"
 
+using namespace std;
+
 UnsharpMaskEffect::UnsharpMaskEffect()
        : blur(new BlurEffect),
          mix(new MixEffect)
@@ -30,7 +32,7 @@ void UnsharpMaskEffect::rewrite_graph(EffectChain *graph, Node *self)
        self->disabled = true;
 }
 
-bool UnsharpMaskEffect::set_float(const std::string &key, float value) {
+bool UnsharpMaskEffect::set_float(const string &key, float value) {
        if (key == "amount") {
                bool ok = mix->set_float("strength_first", 1.0f + value);
                return ok && mix->set_float("strength_second", -value);