[opengm] 08/50: Added missing include

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Nov 1 17:14:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository opengm.

commit 9057ff8674feb8158bff924f6cc7765a0054229e
Author: Peter Fischer <yanlend at users.noreply.github.com>
Date:   Wed Oct 21 12:56:49 2015 +0200

    Added missing include
    
    `#include <limits>` is necessary if `SYS_MEMORYINFO_ON` is not defined
---
 include/opengm/utilities/meminfo.hxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/opengm/utilities/meminfo.hxx b/include/opengm/utilities/meminfo.hxx
index 597a320..ce44776 100644
--- a/include/opengm/utilities/meminfo.hxx
+++ b/include/opengm/utilities/meminfo.hxx
@@ -1,7 +1,7 @@
 //******************************************************
 //** Author: Joerg Hendrik Kappes
 //** 
-//** The MomoryInfo class provides a interface to access memory informations
+//** The MemoryInfo class provides a interface to access memory informations
 //** for the current process or system-wide across diffrent platforms.
 //** It provides interfaces to get the:
 //**  - current physically used memory by the process
@@ -21,6 +21,7 @@
 
 #include <iostream>
 #include <stdexcept>
+#include <limits>
 #include "stdlib.h"
 #include "stdio.h"
 #include "string.h"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git



More information about the debian-science-commits mailing list