瀏覽代碼

r.terraflow: add space between literal and macro

String literal followed by define causes
'invalid suffix on literal' in clang++ [-Wreserved-user-defined-literal]
becasue C++11 requires space between literal and identifier (using -std=c++14).

The space will be just ignored when the resulting literal
is constructed.


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68817 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 8 年之前
父節點
當前提交
8d2dbe7bc2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      raster/r.terraflow/grass2str.h

+ 1 - 1
raster/r.terraflow/grass2str.h

@@ -141,7 +141,7 @@ cell2stream(char* cellname, elevation_type T_max_value, long* nodata_count) {
   /* close map files */
   Rast_close (infd);
 
-  G_debug(3, "nrows=%d   ncols=%d    stream_len()=%"PRI_OFF_T, nrows, ncols,
+  G_debug(3, "nrows=%d   ncols=%d    stream_len()=%" PRI_OFF_T, nrows, ncols,
 		str->stream_len());  
   assert((off_t) nrows * ncols == str->stream_len());
   rt_stop(rt);