Browse Source

Add move constructor to LogLevel

Thomas Buck 9 years ago
parent
commit
763efbb8bf
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      include/Log.h

+ 1
- 0
include/Log.h View File

@@ -48,6 +48,7 @@ class Log {
48 48
 class LogLevel {
49 49
   public:
50 50
     LogLevel(int l) : level(l) { printBuffer << std::boolalpha; }
51
+    LogLevel(LogLevel&& l) : level(l.level) { }
51 52
 
52 53
     LogLevel& operator<< (const glm::vec2& v) {
53 54
         return (*this) << v.x << " " << v.y;

Loading…
Cancel
Save