]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/program.h
Use default member initializers for simple types
[libs/gl.git] / source / core / program.h
index f41a7d6ddf99d56218d8b53b6578853c2dca8e71..fd1c1ae09d10e12943ca13140339b96d59cd5ecf 100644 (file)
@@ -52,7 +52,7 @@ private:
 
 public:
        /// Constructs an empty Program with no shader stages attached.
-       Program() { }
+       Program() = default;
 
        /// Constructs a Program from a Module, with specialization constants.
        Program(const Module &, const std::map<std::string, int> & = std::map<std::string, int>());